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
  • 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.

Revisions

  1. @mingfang mingfang revised this gist Feb 28, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion convert id_rsa to pem
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,2 @@
    openssl rsa -in ~/.ssh/id_rsa -outform pem > id_rsa.pem
    chmod 700 id_rsa.pem
    chmod 600 id_rsa.pem
  2. @mingfang mingfang revised this gist Aug 3, 2015. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion convert id_rsa to pem
    Original file line number Diff line number Diff line change
    @@ -1 +1,2 @@
    openssl rsa -in ~/.ssh/id_rsa -outform pem > id_rsa.pem
    openssl rsa -in ~/.ssh/id_rsa -outform pem > id_rsa.pem
    chmod 700 id_rsa.pem
  3. @mingfang mingfang created this gist Feb 3, 2015.
    1 change: 1 addition & 0 deletions convert id_rsa to pem
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    openssl rsa -in ~/.ssh/id_rsa -outform pem > id_rsa.pem