Created
August 10, 2013 22:42
-
-
Save sergeifilippov/6202512 to your computer and use it in GitHub Desktop.
Add this to your bash_profile. Now, whenever you need to fetch your ssh-key, just type sshkey, and it'll be copied to your clipboard.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias sshkey="cat ~/.ssh/id_rsa.pub | pbcopy && echo 'Copied to clipboard.'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment