[CentOS] SSH keys question

John Kennedy skebi69 at gmail.com
Mon Nov 15 13:29:53 EST 2010


All,
I have 3 servers. All 3 are CentOS 5.5. All 3 have identical
/etc/ssh/sshd_config files. I used ssh-keygen (with no arguments) to
generate keys with no password. I then added all 3 id_rsa.pub keys to the
authorized_keys file.
With this set up, I should be able to ssh between all 3 boxes without
needing a password. The problem is that one of the servers keeps asking for
a password even with the keys set up.

servera --> serverb   No password
serverb --> servera   No password
servera --> serverc   Password
serverc --> servera   No password
serverb --> serverc   Password
serverc --> serverb   No password

If they are all identical from an ssh standpoint (at least the
authorized_keys, /etc/sshd_config, and UID for the user on all 3 hosts), why
will serverc not play nicely with the other 2> Is there something else I
should be checking?

Thanks,
John

-- 
 John Kennedy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20101115/8fa69c9d/attachment.html 


More information about the CentOS mailing list