Skip to content

Instantly share code, notes, and snippets.

@caiquecastro
Created January 17, 2016 01:01
Show Gist options
  • Save caiquecastro/c8c53bb9a5f75657551e to your computer and use it in GitHub Desktop.
Save caiquecastro/c8c53bb9a5f75657551e 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