Skip to content

Instantly share code, notes, and snippets.

@dorogoff
Forked from mingfang/convert id_rsa to pem
Created June 21, 2017 07:45
Show Gist options
  • Save dorogoff/6c5c1b3c96e6581797b90d358d9e76df to your computer and use it in GitHub Desktop.
Save dorogoff/6c5c1b3c96e6581797b90d358d9e76df 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