ssh public key authentication
Smoot Carl-Mitchell
smoot at tic.com
Wed Jan 7 19:31:58 UTC 2009
On Wed, 2009-01-07 at 11:13 -0500, Mark Haney wrote:
> This bites me a lot. Check to make sure the ~/.ssh folder is set to 600
> permissions, including all the files in it. If they /aren't/ set to
> those permissions, it doesn't matter if the key is there, ssh won't
> accept it.
The .ssh directory can be readable by group and other and the
authorized_keys file can also be readable and public key authentication
will work. If those permissions are correct, check the permissions of
the directory path which leads to the .ssh directory. All the ancestor
directories must only be readable by group and other as well.
--
Smoot Carl-Mitchell
System/Network Architect
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005
More information about the ubuntu-users
mailing list