Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.