Skip to content

Instantly share code, notes, and snippets.

@samuelleach
Last active January 2, 2016 22:29
Show Gist options
  • Save samuelleach/8370499 to your computer and use it in GitHub Desktop.
Save samuelleach/8370499 to your computer and use it in GitHub Desktop.
Script to copy your public key to the clipboard (via @scraperwiki)
[ -e ~/.ssh/id_rsa.pub ] || ssh-keygen -f ~/.ssh/id_rsa
pbcopy < ~/.ssh/id_rsa.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment