SSH Key Generation

Is there a place to configure the type of key RC generates when requested by the user? In my tests the generated private key can’t be imported into PuttyGen on Windows in order to create Putty’s equivalent .ppk file. PuttyGen displays a message “Couldn’t load private key (unrecognised key type)”.

Note ssh-keygen can take the generated key and convert it to something usable by PuttyGen, so the generated key must be valid… but at that point you may as well just do the generation in ssh-keygen as well!



There’s no such option at the moment. You could however change the code that is responsible for key generation here:

That did the trick - I changed the format to TraditionalOpenSSL rather than ‘PKCS8’