First off, if you use putty to SSH to your servers then you need to know your won’t create SSH keys with PuTTY but, with a utility that came with PuTTY called PuTTYgen.

1. Open PuTTYgen from the start menu.

2. We will perform 3 steps on this Screen

a. Choose a Key type of RSA.

b. Set the number if bits in the key (2048, 4096, 8192).  I choose 2048 for this demo.

c. click on the “Generate” button.

3. Now move the mouse around in the window to generate a random key.

4. Now that the key has been generated you can copy the contents of the window and paste it into notepad.

5. Save the file as “authorized_keys”.  The file does not have an extension.

6. To save the file without an extension in notepad you wrap the file name in double quotes “Like This”.

7. Now click “Save public key” to save the Public Key to you hard drive.

7a. You will see the “save as” window.  this will allow you to save the file to the location you want.

8. Now click “Save private key” to save the Private Key to you hard drive.  You want to keep this file safe.  It is used to move this key to other systems if you use multiple systems to access the same servers.

8a. You will see the “save as” window.  this will allow you to save the file to the location you want.

9. you are ready to move on to using the New SSH key on your Linux server.  Click this link to follow the “SSH to Linux with SSH keys” guide.