viper25

Setup SSH Login

Apr 22nd, 2017
424
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. https://devops.profitbricks.com/tutorials/secure-the-ssh-server-on-ubuntu/#configure-ssh-to-log-in-with-ssh-keys-instead-of-a-password
  2.  
  3. Create SSH key
  4. ssh-keygen -t rsa -C "A comment"
  5.  
  6. id_rsa (private) and id_rsa.pub (public key) are created
  7.  
  8. cat id_rsa.pub >> ~/.ssh/authorized_keys
Advertisement
Add Comment
Please, Sign In to add comment