There are three files in my setup:
id_rsa
id_rsa.pub
authorized_keys
authorized_keys has a copy of id_rsa.pub contents to allow no-password logins.
These files have been copied between two computers. If I ssh from computer1 to computer2, it works. If I ssh from coputer2 to computer1, it prompts for a password. Can someone tell me why this might happen.
Also, both systems are running Ubuntu 10.04. I have reinstalled openssh-server packages on both systems. Permissions of the files are the same. The /etc/ssh sshd_config and ssh_config files are the same. I have run with -v -v -v and the only difference between the two sessions, is that one says the 'key was accepted by the server', the other one just continues to the password prompt.
So what else is left to check?
