PuTTYgen comes with PuTTY (putty.org). It saves the private key as a .ppk file, which PuTTY, WinSCP and FileZilla read.
Steps
- Start PuTTYgen from the Start menu.
- Under Parameters, choose EdDSA and Ed25519 (255 bits).
- Click Generate and move the mouse in the empty area until the bar is full.
- Type a Key comment, such as the computer's name, and a Key passphrase twice.
- Click Save private key and keep the
.ppkfile in a safe folder. - Select all the text in the box Public key for pasting into OpenSSH authorized_keys file and copy it with Ctrl + C.
Result
You have a .ppk private key and its public key (one line starting with ssh-ed25519) on the clipboard.
What to do next
Now add the key to your site. The public key can also be pasted as PuTTYgen's block that starts with ---- BEGIN SSH2 PUBLIC KEY ----; the console converts it.
Warning
Never share the .ppk file. Lost it? Make a new key and remove the old one from your site.
Related articles
- Add or remove an SSH key Put the public key of your computer on your site, limit it to SFTP or to your own addresses, and remove keys you no longer use.
- Connect with PuTTY Set up PuTTY on Windows with your key and port 7822, and save the session for next time.
- Copy files with WinSCP Connect WinSCP on Windows to your site over SFTP with your key, and drag files between your computer and the server.