Skip to content

Instantly share code, notes, and snippets.

@amorino
Forked from mingfang/convert id_rsa to pem
Created March 6, 2017 16:21
Show Gist options
  • Save amorino/9fb8372e73a07bfd97909d89de2c3487 to your computer and use it in GitHub Desktop.
Save amorino/9fb8372e73a07bfd97909d89de2c3487 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