Is it possible to create or convert keys in Linux into .ppk format which can be used in PuTTY in Windows?

Without downloading any additional software like puttygen, possibly using standard tools like ssh-keygen.

To be more specific, the .ppk format with ssh-2 protocol and bytes=2048.


No, ssh-keygen does not support the PuTTY key format. In both operating systems, you will need PuTTYgen.

  • On Windows, use PuTTYgen's "Import OpenSSH key" command.

  • On Linux, puttygen input.key -o output.ppk.

The format is documented in sshpubk.c:377 if you want to write your own program.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.