Created
August 15, 2015 09:09
-
-
Save jkjuopperi/3ad54f21b22bacd1a8dd to your computer and use it in GitHub Desktop.
Show my SSH public key and copy it into clipboard on Mac
This file contains hidden or 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
#!/bin/sh | |
cat ~/.ssh/id_rsa.pub | |
cat ~/.ssh/id_rsa.pub |pbcopy | |
echo "# Public key copied to clipboard" >&2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment