[CentOS] Unable to use SSH password-less logins

Sat Oct 11 15:07:53 UTC 2008
Ned Slider <ned at unixmail.co.uk>

Joe Tseng wrote:
> I am trying to ssh from my Windows/Cygwin xterm window into my CentOS52 
> servers w/o using passwords but my keys seem like they're being 
> ignored.  I created the key in cygwin using:
> 
> $ ssh-keygen -t dsa -f id_dsa
> 
> And copied id_dsa.pub over to centos:~/.ssh/authorized_keys
> 
> Ideas?
> 

Check your permissions on ~/.ssh and ~/.ssh/authorized_keys on the 
CentOS server, they should be 700 and 600, respectively. See here:

http://wiki.centos.org/HowTos/Network/SecuringSSH#head-9c5717fe7f9bb26332c9d67571200f8c1e4324bc