RSA1 keys and sftp - two errors
Brought to you by:
xystrus
From: Jeff <rs...@pr...> - 2003-10-25 08:25:36
|
Help! I've travelled 98% of the journey, only to get hit at the last = turn!! For background, chroot works a treat, sftp working no problems with = rssh, and users can happily log in and wander around their (chroot'd) homes. = File uploads/downloads also going fine. However, I have one instance where the user login is automated (in = scripts), and therefore the user wants to use a passphrase-less RSA1 key (I know, don't start on me with the security implications!!). Anyway, I install = the key on the server (in their authorized_keys file), and do some tests. Here's what I get (in /var/log/messages - dates/times/names removed for sanity): Sshd(pam_unix): authentication failure; logname=3D uid=3D0 euid=3D0 = tty=3DNODEVssh ruser=3D ruser=3D<myhostname> user=3D<username> Sshd(pam_unix): session opened for user <username> by (uid=3D500) Rssh: setting log facility to LOG_USER Rssh: line 42: configuring user <username> Rssh: setting <username's> umask to 011 Rssh: allowing sftp to user <username> Rssh: chrooting <username> to /home/<username> Rssh: user <username> attempted to execute forbidden commands Rssh: command: sftp Sshd(pam_unix): session closed for user < |