[K12OSN] how to set up passwordless ssh access

Nils Breunese nils at breun.nl
Sat Jun 16 14:11:48 UTC 2007

James P. Kinney III wrote:

> On Fri, 2007-06-15 at 23:06 -0400, 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.
> And the /etc/ssh/sshd.conf must be edited to allow use of RSA keys.
> find these lines:
> #RSAAuthentication yes
> #PubkeyAuthentication yes
> #AuthorizedKeysFile     .ssh/authorized_keys
> and uncomment them and restart sshd

That's not really necessary as the commented out values are the  
defaults. But it doesn't hurt either.

Nils Breunese.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: Dit deel van het bericht is digitaal ondertekend
URL: <http://listman.redhat.com/archives/k12osn/attachments/20070616/d156540e/attachment.sig>

More information about the K12OSN mailing list