Skip to content

Instantly share code, notes, and snippets.

@johnmeehan
Created December 22, 2014 23:48
Show Gist options
  • Save johnmeehan/7a41840ed81b35882c1b to your computer and use it in GitHub Desktop.
Save johnmeehan/7a41840ed81b35882c1b to your computer and use it in GitHub Desktop.
Copy ssh key to clipboard from command line
#!/bin/bash
cat ~/.ssh/id_rsa.pub | pbcopy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment