Skip to content

Instantly share code, notes, and snippets.

@yyyyaaa
Forked from mingfang/convert id_rsa to pem
Created September 21, 2017 15:54
Show Gist options
  • Save yyyyaaa/5d0133eb4db3d394391052c687ce51dc to your computer and use it in GitHub Desktop.
Save yyyyaaa/5d0133eb4db3d394391052c687ce51dc 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