Skip to content

Instantly share code, notes, and snippets.

@reidransom
Last active December 19, 2015 20:08
Show Gist options
  • Select an option

  • Save reidransom/6010819 to your computer and use it in GitHub Desktop.

Select an option

Save reidransom/6010819 to your computer and use it in GitHub Desktop.
Copy a public ssh key one-liner

Copy a public ssh key one-liner

$ ssh [email protected] 'mkdir -p .ssh && cat >> .ssh/authorized_keys' < ~/.ssh/id_rsa.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment