Re: Public key authentication works for one account, but NOT other account...

Greg Wooledge <[email protected]> Tue, 23 Mar 2010 08:18:30 -0400
Newsgroups gmane.network.openssh.general
Message-ID <[email protected]>
On Mon, Mar 22, 2010 at 11:20:51AM -0700, Zack Payton wrote:
> What are the permissions on your home directory for the user that is failing.
> Also what are the permissions for ~/.ssh/ of the user that is failing?
> 
> If either of these are set to +r or +w, ssh will skip public key and
> go to password authentication.

Actually, world-readable is fine.  It's just group- or world-WRITABLE
that gives the problem.