[SATLUG] SSH public key authentication failure
bdubbs at swbell.net
Sun Aug 14 00:29:48 CDT 2005
Roy Pittman wrote:
> I am using SSH and SCP on my home network with good results except that
> I have to give passwords to log in to my fileserver (Redhat9 @runlevel3)
> from my workstation (FC4).
> I have generated fresh DSA and RSA keypairs and have SCP'd them to
> server:/home/roy/.ssh/authorized_keys2 which is -rw------- .
Try using /home/roy/.ssh/authorized_keys instead of the -2 variant.
that went away some time ago, but can be specified in the sshd_config
file if you want.
You do not need the RSA key.
Also, you are not specific as to exactly what key you transferred. It
should be id_dsa.pub.
> directory is drwx------ and I am the owner of both the it and
> I have put
> DSAAuthentication yes
> lines in server:/etc/ssh/ssh_config and sshd_config files.
My ssh_config has *every* line commented out. The defaults are
My sshd_config has only:
Subsystem sftp /usr/libexec/openssh/sftp-server
More information about the SATLUG