- Download PuTTYgen from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html.
- Start puttygen.
- Select the Generate button.
- After the key is created, click on the Save private key button to download the file that contains private key.
- Click on the Save public key button to download the file that contains public key.
~]# apt-get install putty-tools
Create the private key pair.
~]# puttygen -t rsa -b 2048 -o example.ppk
Create the public certificate.
~]# puttygen -L example.ppk > example.pub