Skip to content

Instantly share code, notes, and snippets.

@vanities
Created August 20, 2017 18:23
Show Gist options
  • Save vanities/d8d3a78e9351f2dab40f65285c407913 to your computer and use it in GitHub Desktop.
Save vanities/d8d3a78e9351f2dab40f65285c407913 to your computer and use it in GitHub Desktop.
ssh keygen
# 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