Puttygen patch for entering passphrases from command line
Submitted by itefix on Thu, 10/03/2011 - 01:10
If you want to use Putty's key generation program Puttygen from a command line, you can use the Unix version. However, as specified in the documentation, it is still required to enter password manually. That behaviour can not be circumvented by redirection either. A small patch (attached) is developed to introduce the option -N for specifying a new passphrase from the command line:
C:\Program Files (x86)\ICW\bin>puttygen --help PuTTYgen unidentified build, Mar 2 2011 22:53:04 Usage: puttygen ( keyfile | -t type ) -t specify key type when generating (rsa, dsa, rsa1) -b specify number of bits when generating key -C change or specify key comment -P change key passphrase -q quiet: do not display progress bar -N new passphrase |
NB! the patch allows passphrases without spaces only.
Attachment | Size |
---|---|
cmdgen.option-N.patch | 1.73 KB |
Featured product
Free Software Highlights
Release Announcements
- 2024-11-25 Copssh client 8.0.0
- 2024-11-17 OpenSSL tool 2.0.1
- 2024-11-17 Wrbldnsd 5.0.2