ssh automatic login without password not working

Posted on February 20, 2012

If you just setup your ssh rsa key to enable  ssh automatic login without password,but it doesn’t work,normally it’s caused by a wrong group permission of your .ssh directory or it’s parent directory.So just follow below steps to get it out.

1.Check your .ssh directory permission,if it’s not 700,please use chmod command to change it to 700

2.Check the parent directory of .ssh,if it’s 770 even 777,pls change it to 750 at least

3.If above 2 steps still can not fix your issue,you can try to copy authorized_keys to authorized_keys2

 

Thinking:If other users have the permission to access your ssh key files ,then they could copy it to their own directory then they can ssh to the server automatically without password using your account.

Reference: ssh automatic login without password prompt

Popularity: 1% [?]

Related Posts:

» Filed Under Linux

Comments

Leave a Reply