Created
June 8, 2015 14:16
-
-
Save antila/e642b6501bf5ba2a5d45 to your computer and use it in GitHub Desktop.
My new public key
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
# Nuke my old keys | |
rm /home/aantila/.ssh/authorized_keys | |
# Grab new one | |
gpg2 --recv-keys 0A361939 | |
gpgkey2ssh 700C8678 >> /home/aantila/.ssh/authorized_keys | |
# ... and add a comment | |
sed -i.bak s/COMMENT/"anders@antila.se-yubikey"/g /home/aantila/.ssh/authorized_keys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment