Public and private key pairs are used for the public-key authentication method in SSH. You can create an SSH key pair using ssh-keygen in Linux and other Unix-based operating systems, but the tool is not available on some versions of Windows.
PuTTY Key Generator or PuTTYgen is a graphical tool you can use to create public and private SSH key pairs on Windows. It's free software and is the most widely-used program to generate SSH key pairs on Windows.
Related: How to generate SSH key pairs
Related: PuTTYgen official download site
Use default values if you're not sure about the parameters.
Copy the content of the displayed public key instead if you want to place it in an OpenSSH server's authorized_keys file for public key authentication method.
Comment anonymously. Login not required.