Skip to content

Instantly share code, notes, and snippets.

@nekulin
Forked from mingfang/convert id_rsa to pem
Created November 4, 2020 17:36
Show Gist options
  • Save nekulin/f43a8e9761a42712ceae507a20f55a91 to your computer and use it in GitHub Desktop.
Save nekulin/f43a8e9761a42712ceae507a20f55a91 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 600 id_rsa.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment