Puttygen SSH

Generate an 4096Bit RSA KeyHi,

use the following steps to create a ssh key pair with puttygen and import the public key on a linux hosts.

Start puttygen and generate an 4096 Bit RSA Key.

Set a strong password and save it (D:\temp\private.ppk in this example) at a secure location.

Export your private key as OpenSSH compatible key (for example D:\temp\private.key) and copy the key to your linux box.

Copy the key to the your home directory

d:\> pscp d:\temp\private.key michael@devdeb:

Export your public key to ~/.ssh/id_rsa.pub

michael@devdebt > ssh-keygen -e -f ~/private.key > ~/.ssh/id_rsa.pub

After extracting the public key you can delete the private key file.

michael@devdebt >rm ~/private.key

michael@debdevt:~/.ssh $ cat id_rsa.pub
- BEGIN SSH2 PUBLIC KEY -
Comment: "4096-bit RSA, converted by michael@debdevt from OpenSSH"
AAAAB3NzaC1yc2EAAAABJQAAAgEAmlBW8LR5J4E8NbiyrYZQxN9RsFjfP9pwPJbOcUVlop
v+u5TIZm8S6AW3sVFTElYgeQoi5f3csvfQBIAWCu+yTB8/q7b1gqk9TIGfxQS1mJHhit+v
3cGb/QKazqN0wz357keEZxP5kl4q4YBSEtUIVfvlLghuLNu53CjpexrSX31q9KwzSY7vUO
RpOYwbWNJb/hAudXfUk2nDMdPtVzte8hPpq73apFT1nORFSAI1TZlj3rVubX0434iGrK7O
6gbjGJjukxeqDVWjYSFpk2MROwUnnJWgS0ueRBu2gsaDIEw6qx9vIEKcj0O30uZvyPc9/I
i1K9PKAnmzv+zUTLqLw9+vxNM3hueGXbk25Qv4aFuxzz8vpIh5qP5ZVswMm5+nis6paYXH
wStZc1yUVeL5XYVjZoBZ4+3jsQUOcBEWFACsxWP6HaLbuxl+DaGO/f6sPYC0QuOydFgV9W
JcjXzmodnAoh5mBHZKTLDJEIOmrHVX2PT5iQoDljRPO1xtP4j5AkcAaNfyT51FNgdeRyRj
zklK6Lqkem3V/CakfBzzySgDs3VUrkZnFDXkGjKqnR9v91PzzpcZQ13VS4kZvc04vbsAJN
h5c/X+aTHcwJv2vlV82nNumur686gZW0BriKtvkJiurHKmlxtPLwlbZ3vl0IVM6nhloBDS
huun/WUa/oM=
- END SSH2 PUBLIC KEY -

Add the public key to file ~/.ssh/authorized_keys. You have to convert id_rsa.pub to the format authorized_keys expects and set the correct file permissions.

Configure PuTTY to use the ssh key Login

Puttygen online

Puttygen ssh2

Puttygen tool

Puttygen x64