Skip to content

Instantly share code, notes, and snippets.

@cute
Forked from mingfang/convert id_rsa to pem
Created November 20, 2018 00:28
Show Gist options
  • Save cute/6054b77ae9f72a6c85c181d2290a4c11 to your computer and use it in GitHub Desktop.
Save cute/6054b77ae9f72a6c85c181d2290a4c11 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