Advertisement
Guest User

Untitled

a guest
May 23rd, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. 1) copy your ssh public key.
  2. 2) Enter into server using ssh.
  3. 3) Then
  4.  
  5. `$ cd .ssh`
  6.  
  7. `$ nano authorized_keys`
  8.  
  9. This will open a file .
  10.  
  11. 4) Paste your ssh public key here.
  12.  
  13. 5) Save and close it.
  14.  
  15. Boom...next time you can access your server without passward..
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement