Skip to content

Instantly share code, notes, and snippets.

@mthierry
Created January 20, 2016 23:12
Show Gist options
  • Save mthierry/aa7530faf6b835656c5b to your computer and use it in GitHub Desktop.
Save mthierry/aa7530faf6b835656c5b to your computer and use it in GitHub Desktop.
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