Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Unrecognised option while using puttygen in Windows cmd

I installed Puttygen on windows using: putty-64bit-0.79-installer.msi (which I downloaded from the official Puttygen website).

Except that when I go to Windows cmd and run puttygen -V, I get the error "Unrecognised option -V". What’s worse is that this message is displayed regardless of the option entered.

I have to use puttygen as a batch script without going through the interface to transform an id_rsa file into id_rsa.ppk.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Windows PuTTYgen is mostly GUI only. It seems that you expect it to support the command-line options that Linux console puttygen does. It does not.

Instead, you can use WinSCP console, which supports some console puttygen functionality:

winscp.com /keygen id_rsa -o id_rsa.ppk

WinSCP does not support the -O switch, but the -O private is the default (and the only) conversion it supports.

(I’m the author of WinSCP)

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading