[CentOS] SSH keys question

Mon Nov 15 18:36:40 UTC 2010
cliff here <c4ifford at gmail.com>

You should check the perms on the dirs, ssh will not allow it use the keys
if they are too permissive. So I would check starting at /home

On Mon, Nov 15, 2010 at 1:29 PM, John Kennedy <skebi69 at gmail.com> wrote:

> 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
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>


-- 
-------------------------------------------------------------------------------------------------------------------------------------
NOTICE: This message, including all attachments, is intended for the use of
the individual or entity to which it is addressed and may contain
information that is privileged, confidential and exempt from disclosure
under applicable law. If the reader of this message is not the intended
recipient, or the employee or agent responsible for delivering this message
to its intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited. If you
have received this communication in error, please notify the sender
immediately by replying "Received in error" and immediately delete this
message and all its attachments.
-------------------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20101115/043ea880/attachment-0005.html>