Skip to content

Instantly share code, notes, and snippets.

@miqueiaspenha
Forked from mingfang/convert id_rsa to pem
Created October 5, 2020 13:17
Show Gist options
  • Save miqueiaspenha/ac2a5b364e93f843b69f7e4b88b8aea9 to your computer and use it in GitHub Desktop.
Save miqueiaspenha/ac2a5b364e93f843b69f7e4b88b8aea9 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