Skip to content

Instantly share code, notes, and snippets.

@nielsole
Forked from mingfang/convert id_rsa to pem
Created June 2, 2016 14:57
Show Gist options
  • Save nielsole/806d74bafb4cf9532583fab01a2d82cd to your computer and use it in GitHub Desktop.
Save nielsole/806d74bafb4cf9532583fab01a2d82cd 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