Subject: ssh is no longer installed suid
To: None <current-users@netbsd.org>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: current-users
Date: 03/26/2001 08:26:14
Current's ssh (cvs-updated yesterday) can't load one of the key files
and gripes about it in the auth log.

    Mar 26 08:09:49 capsicum inetd[27505]: connection from localhost, service ssh (tcp6)
    Mar 26 08:09:49 capsicum sshd[27505]: Disabling protocol version 2. Could not load host key
    Mar 26 08:09:49 capsicum sshd[27505]: Generating 768 bit RSA key.
    Mar 26 08:09:49 capsicum sshd[27505]: RSA key generation complete.
    Mar 26 08:09:50 capsicum sshd[27505]: Accepted rsa for wolfgang from ::1 port 49212

It looks like /usr/bin/ssh is no longer installed suid-root.  Is this
a bug or intentional?  (If intentional does that mean one is expected
to chmod the private keyfiles to be user readable???)

    1 -rw-------  1 root  wheel  668 Aug  6  2000 /etc/ssh_host_dsa_key
    1 -rw-r--r--  1 root  wheel  613 Aug  6  2000 /etc/ssh_host_dsa_key.pub
    1 -rw-------  1 root  wheel  538 Feb 18  1998 /etc/ssh_host_key
    1 -r--r--r--  1 root  wheel  342 Feb 18  1998 /etc/ssh_host_key.pub
 
-wolfgang
-- 
       Wolfgang Rupprecht <wolfgang+gnus@dailyplanet.wsrcc.com>
		    http://www.wsrcc.com/wolfgang/
Coming soon: GPS mapping tools for Open Systems. http://www.gnomad-mapping.com/