[K12OSN] how to set up passwordless ssh access

Peter Scheie peter at scheie.homedns.org
Sat Jun 16 14:06:42 UTC 2007


I use 700 on ~/.ssh and 600 on authorized_keys, as I've run into 
situations where it wouldn't work otherwise.  But that may be a habit 
developed from HP-UX.

Peter

Nils Breunese wrote:
> Jim McQuillan wrote:
> 
>> check the permissions on the .ssh directory, and the authorized_keys 
>> file.
>>
>> .ssh should be 0700  ('drwx------') and owner/group must be correct 
>> for that user.
>>
>> authorized_keys should be 0644 ('-rw-r--r--'), and again owner/group 
>> must be for that user.
> 
> I use 0600 (-r--r--r--) myself. I believe some distro's are stricter 
> than others about these permissions. Or maybe it changed with some 
> version of OpenSSH.
> 
> Nils Breunese.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>




More information about the K12OSN mailing list