Last active
July 5, 2018 06:40
-
-
Save xyznaveen/0f03f1935d897d36923b4b7c5f4957e6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Generate Private / Public key in ~/.ssh/ folder | |
ssh-keygen -t rsa | |
Copy the resulting public key to the ~/.ssh/known_hosts folder on the server | |
cat ~/.ssh/id_rsa.pub | ssh username@hostname 'cat >> .ssh/authorized_keys' | |
ENJOY!! :D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment