PuTTYgen supports a set of command-line options to configure many of the same settings you can select in the GUI. This allows you to start it up with your own preferences ready-selected, which might be useful if you generate a lot of keys. (For example, you could make a Windows shortcut that runs PuTTYgen with some command line options, or a batch file or Powershell script that you could distribute to a whole organisation containing your local standards.)
The options supported on the command line are:
-t
keytype
rsa
, dsa
, ecdsa
, eddsa
, ed25519
, ed448
, or rsa1
. See section 8.2.2.
-b
bits
--primes
method
probable
, proven
, and proven-even
. See section 8.2.4.
--strong-rsa
--ppk-param
key=
value,
...
Aspects to change are specified as a series of key=
value pairs separated by commas. The keys are:
version
3
or 2
.
kdf
argon2id
, argon2i
, and argon2d
.
memory
time
passes
time
: specifies the number of hash passes required to attempt decrypting the key.
parallelism
-E
fptype
sha256
or md5
. See section 8.2.6.