Skip to content

Instantly share code, notes, and snippets.

@Senpai-Codes
Forked from mingfang/convert id_rsa to pem
Created February 1, 2020 17:49
Show Gist options
  • Select an option

  • Save Senpai-Codes/377eaa54dc1f4d13ff9f3c673e149ac8 to your computer and use it in GitHub Desktop.

Select an option

Save Senpai-Codes/377eaa54dc1f4d13ff9f3c673e149ac8 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