Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 3 down vote accepted

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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