Call 1-888-670-1652

How to convert between openSSH and SSH2

How to convert between openSSH and SSH2

Convert OpenSSH key to SSH2 key

This must be done on the system running OpenSSH.

ssh-keygen -e -f ~/.ssh/id_dsa.pub > ~/.ssh/id_dsa_ssh2.pub

Convert SSH2 key to OpenSSH key

This needs to be done on the system running OpenSSH.

ssh-keygen -i -f ~/.ssh/id_dsa_1024_a.pub > ~/.ssh/id_dsa_1024_a_openssh.pub

Important: on out servers you have to use allways openSSH keys.