-
Open PuttyGen
-
Click Load
-
Load your private key
-
Go to Conversions->Export OpenSSH and export your private key
-
Copy your private key to ~/.ssh/id_dsa (or id_rsa).
-
Create the RFC 4716 version of the public key using ssh-keygen
-
ssh-keygen -e -f ~/.ssh/id_dsa > ~/.ssh/id_dsa_com.pub
-
Convert the RFC 4716 version of the public key to the OpenSSH format:
-
ssh-keygen -i -f ~/.ssh/id_dsa_com.pub > ~/.ssh/id_dsa.pub
Created
January 9, 2017 16:50
-
-
Save stefhen/5b3cf11b52eb7764fee7a7d30430bb2a to your computer and use it in GitHub Desktop.
Convert putty ssh keys to openssh format
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment