SSH Public Key password problem
This issue appears related to many other posts I have seen in forums on ssh public keys/automatic logins. I have followed multiple tutorials and tried everything mentioned in forums that I have seen (including permissions and ensuring the my sshd_config file is correct).
I have 2 servers running RH Linux 6.0 on 64 bit machines. Server1 is 'hardened' (locked down as it needs to be as secure as possible). Server2 is not. I generated a public key on a third box (ssh-keygen -t rsa) and used scp to copy the public key to both machines (my_home_dir/.ssh). I restarted the ssh daemon on both boxes.
When I attempt to log in to server1, I get prompted for a password. When I log in to server2, I do not.
I have gone as far as copying the sshd_config from server2 to server1 and restarting the sshd daemon on server1. I have checked permissions and have tried everything I can find on various forums
When I run the ssh command from the 3rd box in debug mode (ssh -vvv server1 or ssh -vvv server2) I notice that I get the same debug output UP TO the point where I see the output "we sent a public key package, wait for reply". The next line in the debug output from server2 is "Server accepts key, pkalg ssh-rsa blen 149". The next line in the debug output from server1 is "Authentications that can continue: publickey, gssapi-keyex......."
What other issues could possibly cause this situation?
Any help is appreciated.