Skip to content

Instantly share code, notes, and snippets.

@vanities
Created August 20, 2017 18:23
Show Gist options
  • Select an option

  • Save vanities/d8d3a78e9351f2dab40f65285c407913 to your computer and use it in GitHub Desktop.

Select an option

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 user@192.168.blah
# OR
cat ~/.ssh/id_rsa.pub | ssh user@193.168.blah "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