[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] how to set up passwordless ssh access



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 redhat com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]