Skip to content

Instantly share code, notes, and snippets.

@jiri-jagos
Forked from mingfang/convert id_rsa to pem
Created February 1, 2022 14:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jiri-jagos/78913a61ca3b6343245e5eb56122fe9c to your computer and use it in GitHub Desktop.
Save jiri-jagos/78913a61ca3b6343245e5eb56122fe9c 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