linux putty ssh public key Convert Putty public key to OpenSSH public key To convert a Putty public SSH key to an OpenSSH public key, run: ssh-keygen -i -f PuttyPublicKey.pub > opensshpublickey.pub