Skip to content

Instantly share code, notes, and snippets.

@blackpr
Forked from mingfang/convert id_rsa to pem
Last active March 3, 2017 09:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blackpr/60bd5a58c46a0426ec836750cd429d55 to your computer and use it in GitHub Desktop.
Save blackpr/60bd5a58c46a0426ec836750cd429d55 to your computer and use it in GitHub Desktop.
Convert id_rsa to pem file
cd ~/.ssh/
openssl rsa -in ./id_rsa -outform pem > id_rsa.pem
chmod 700 id_rsa.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment