Skip to content

Instantly share code, notes, and snippets.

@DenysFesenko
Forked from mingfang/convert id_rsa to pem
Created May 26, 2021 13:42
Show Gist options
  • Select an option

  • Save DenysFesenko/9080c7461db1af1b519845c05f9cde7d to your computer and use it in GitHub Desktop.

Select an option

Save DenysFesenko/9080c7461db1af1b519845c05f9cde7d 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