PuTTYgen is an key generator for creating SSH keys for PuTTY. PuTTYgen is comparable in certain respects to the ssh-keygen tool. PuTTYgen can be used to create public and private key pairs (in .ppk file format). In addition, PuTTYgen can also be used to convert keys to and from other formats. On Windows PuTTYGen is a graphical tool. A command-line version is available for Linux.
When you run puttygen, it does three things. Firstly, it either loads an existing key file (if you specified keyfile), or generates a new key (if you specified keytype). Then, it optionally makes modifications to the key (changing the comment and/or the passphrase); finally, it outputs the key, or some information about the key, to a file.
How to use puttygen
On Arch Linux its simple…
pacman -S putty
yum install putty
dnf install putty
apt-get install putty-tools
Then cd to path of key(s):
puttygen keyname -o keyname.ppk
Make sure you’ve replaced the “keyname” with your private key filename.
https://www.ssh.com/ssh/putty/ – Putty official page.
https://www.ssh.com/ssh/keygen/ – ssh-keygen tool.
https://www.ssh.com/ssh/putty/linux/puttygen – Command line.
https://www.ssh.com/ssh/putty/windows/puttygen – PuTTYgen Windows.
First published: May 16, 2013 | Last updated: June 3rd 2019.