Last active
May 12, 2017 19:02
-
-
Save sokil/429278b5beb8d5bf63e58434d2c72c81 to your computer and use it in GitHub Desktop.
SSH keys
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
# Local: | |
ssh-keygen -t rsa | |
scp ~/.ssh/id_rsa.pub [email protected]://home/user/.ssh | |
# ssh remoteserver.com | |
# Remote: | |
cd ~/.ssh | |
cat .ssh/id_rsa.pub >> .ssh/authorized_keys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment