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

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



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 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 redhat com
> > https://www.redhat.com/mailman/listinfo/k12osn
> > For more info see <http://www.k12os.org>
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN 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 localnetsolutions com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7

Attachment: signature.asc
Description: This is a digitally signed message part


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