wicochandra

SSH login without password (Short)

Oct 28th, 2014
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. cat .ssh/id_rsa.pub | ssh b@B 'cat >> .ssh/authorized_keys'
  2. Change the permissions of .ssh to 700
  3. Change the permissions of .ssh/authorized_keys to 640
  4.  
  5. source: http://www.linuxproblem.org/art_9.html
Advertisement
Add Comment
Please, Sign In to add comment