[CentOS] SSH keys question [RESOLVED]

Mon Nov 15 19:05:57 UTC 2010
John Kennedy <skebi69 at gmail.com>

On Mon, Nov 15, 2010 at 13:45, Paul Heinlein <heinlein at madboa.com> 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 at madboa.com <> http://www.madboa.com/
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20101115/41a3bff2/attachment-0004.html>