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

[366 byte] By [joecatania06] at [2007-11-26 11:34:56]
# 1
If you were user root at the time then you also need to edit /etc/ssh/sshd_configand change the value of PermitRootLogin.Then restart sshd
robertcohen at 2007-7-7 3:50:49 > top of Java-index,General,Network Configurations...
# 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

senthilprabus at 2007-7-7 3:50:49 > top of Java-index,General,Network Configurations...