Re: SSH keys question [RESOLVED]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





On Mon, Nov 15, 2010 at 13:45, Paul Heinlein <heinlein@xxxxxxxxxx> wrote:
On Mon, 15 Nov 2010, cliff here wrote:

> 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

This is the most likely cause; I'd check there too.

If not,

 1. Ensure the file hash is the same (e.g., no extraneous whitespace
    in the middle of the key)
 2. sshd is usually pretty good about writing errors to syslog.

--
Paul Heinlein <> heinlein@xxxxxxxxxx <> http://www.madboa.com/
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


Found it...
In /var/log/secure I got
"Authentication refused: bad ownership or modes for directory /home/zema/.ssh"
I had checked the file, not the directory...
Thanks all...
John


--
 John Kennedy

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux