I have generated a key pair with ssh-keygen
. I now want to use the same key pair with PuTTY-based applications.
Because I'm working in a CLI environment, I want to convert the key to the .ppk
format from within this environment.
Apparently, you can use puttygen openssh_private_key -o output_filename.ppk
on UNIX-like environments. But the Windows version of puttygen
will just load the key and prompt you to use the GUI to export the key.
Batch mode for Windows PuTTYgen suggests that this simply is not currently possible, at least with puttygen
. I'd gladly accept and option that uses other means though.
How can I convert the key from the command line?