Created
August 20, 2017 18:23
-
-
Save vanities/d8d3a78e9351f2dab40f65285c407913 to your computer and use it in GitHub Desktop.
ssh keygen
This file contains 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
# make key | |
ssh-keygen -t rsa | |
# send key | |
ssh-copy-id [email protected] | |
# OR | |
cat ~/.ssh/id_rsa.pub | ssh [email protected] "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment