Skip to content

Instantly share code, notes, and snippets.

@smarkovik
Created November 25, 2017 14:12
Show Gist options
  • Save smarkovik/1353c89b700c23360918b649018595bc to your computer and use it in GitHub Desktop.
Save smarkovik/1353c89b700c23360918b649018595bc to your computer and use it in GitHub Desktop.
copy-ssh-key
cat ~/.ssh/id_rsa.pub | ssh [email protected] "mkdir ~/.ssh; cat >> ~/.ssh/authorized_keys"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment