ssh-keygen
I'm trying to setup ssh login without password, but unable to ssh localhost without being prompted for password. I followed the following steps
1) ssh-keygen -t dsa
2) cat id_dsa.pub >> authorized_keys
But when i tried to ssh localhost, I was prompted for a password. The system is a Sun Fire V4440, Solairs 9.
thanks,
joe
# 2
> I'm trying to setup ssh login without password, but
> unable to ssh localhost without being prompted for
> password. I followed the following steps
> 1) ssh-keygen -t dsa
> 2) cat id_dsa.pub >> authorized_keys
>
The permission of the file authorized_keys should be 0700.
Check this.
Also check your sshd config,
I.e in /etc/ssh/sshd_config
PubkeyAuthentication yes
should be uncommented......
Still a problem, lauch ssh with verbose ie
#ssh localhost -vv
and post the output here......
HTH,
Prabu.S