Skip to content

Instantly share code, notes, and snippets.

@chanjetsdp
Forked from mingfang/convert id_rsa to pem
Created March 4, 2016 11:05
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 chanjetsdp/d7f2a62656d0ec6c34e6 to your computer and use it in GitHub Desktop.
Save chanjetsdp/d7f2a62656d0ec6c34e6 to your computer and use it in GitHub Desktop.
Convert id_rsa to pem file
openssl rsa -in ~/.ssh/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