Skip to content

Instantly share code, notes, and snippets.

@atomize
Forked from mingfang/convert id_rsa to pem
Last active November 30, 2018 14:55
Show Gist options
  • Save atomize/9ee5860fc0e8500fb3bfb68ef3f36cd8 to your computer and use it in GitHub Desktop.
Save atomize/9ee5860fc0e8500fb3bfb68ef3f36cd8 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 0600 id_rsa.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment