+++ Satya [08/08/02 03:27 -0700]:
I am logged in to host A. I want to ssh to host B without giving a password. I run ssh-keygen on A. I copy-paste the public key file to B. I attempt ssh from A to B. B asks for password. What am I doing wrong?
Where did you paste to? The id-(r|d)sa.pub file goes to B:~/.ssh/authorized_keys2 and identity.pub goes to B:~/.ssh/authorized_keys
Permissions are important too, .ssh has to be 700, and authorized_keys? has to be 644, both owned by your user.
Devdas Bhagat