Advertisement
Guest User

Untitled

a guest
Feb 21st, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. You need to do this with the machine that aready has ssh on D.O
  2.  
  3. $ cat ~/.ssh/id_rsa.pub | ssh root@<YOUR_IP> 'cat - >> ~/.ssh/authorized_keys'
  4.  
  5. $ssh root@<YOUR_IP>
  6.  
  7. $reload ssh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement