Generate Putty Key

How to generate Putty keys on Windows.

This guide will show you how to generate Putty keys on Windows.

Prerequisites

Make sure you have the putty package installed.

1
2
sudo apt-get update
sudo apt-get install putty

Generate Putty Key

To generate a Putty key:

1
2
# generate a Putty key
puttygen -t rsa -o my_key.ppk

This will prompt you for a passphrase (you can leave it blank if you don’t want to use one) and then generate a private key file my_key.ppk.