Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for PuTTY PPK format #27

fidian opened this issue Mar 31, 2017 · 2 comments

Add support for PuTTY PPK format #27

fidian opened this issue Mar 31, 2017 · 2 comments


Copy link

@fidian fidian commented Mar 31, 2017

It would be wonderful to be able to use PuTTY's PPK format. I have a UI where users can generate SSH keys and paste them into a text area for upload to the server. The server only allows for openssh style keys, so PuTTY users are cranky about needing to do conversion.

I've generated three keys, all encrypted with the password "asdf". According to the documentation I've found, the public portion is always unencrypted. The private portion may be encrypted and the hash at the end is a hash of both the public and private portions.

I've generated these with puttygen, available as the Ubuntu package. I can generate more keys if that helps. The format seems very straightforward, with either a "Key-name: value" or "key-name-lines: count" style format.


Copy link

@arekinath arekinath commented Apr 3, 2017

Note to myself, seems like the best documentation of this format is in the code:

Copy link

@goloroden goloroden commented Nov 3, 2017

Are there any plans for this?

joyent-automation pushed a commit that referenced this issue Dec 20, 2018
Reviewed by: Isaac Davis <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

3 participants