Skip to content

Instantly share code, notes, and snippets.

@mdellavo
Created September 15, 2016 13:33
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save mdellavo/f42b7841a3d8cd021c1bbe3962046c04 to your computer and use it in GitHub Desktop.
Save mdellavo/f42b7841a3d8cd021c1bbe3962046c04 to your computer and use it in GitHub Desktop.
Convert PGP Public Key to OpenSSH
# import the public key
gpg --import ../alice.asc
gpg --export $KEYID | openpgp2ssh $KEYID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment