[K12OSN] how to set up passwordless ssh access

James P. Kinney III jkinney at localnetsolutions.com
Sat Jun 16 13:06:09 UTC 2007


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 
> 
> Jim McQuillan
> jam at Ltsp.org
> 
> 
> Krsnendu dasa wrote:
> > I have run ssh-keygen on my home Ubuntu computer.
> > Then I pasted the contents of id_rsa.pub into ~/.ssh/authorized_keys
> > on the K12LTSP server.
> > 
> > When I ssh in it still prompts me for my password.
> > 
> > What else do have have to do so I don't have to enter my password
> > every time I ssh in?
> > 
> > _______________________________________________
> > K12OSN mailing list
> > K12OSN at redhat.com
> > https://www.redhat.com/mailman/listinfo/k12osn
> > For more info see <http://www.k12os.org>
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
> 
-- 
James P. Kinney III          
CEO & Director of Engineering 
Local Net Solutions,LLC        
770-493-8244                    
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/k12osn/attachments/20070616/eba83c79/attachment.sig>


More information about the K12OSN mailing list