Jasinski Technical Wiki

Navigation

Home Page
Index
All Pages

Quick Search
»
Advanced Search »

Contributor Links

Create a new Page
Administration
File Management
Login/Logout
Your Profile

Other Wiki Sections

Software

PoweredBy

Generating an SSH Key Pair on Windows Using PuTTYgen

RSS
Modified on Wed, Apr 05, 2017, 2:13 PM by Administrator Categorized as Linux, Windows (OS, IE, IIS, and MSMQ)

Overview

This article explains how to generate an SSH public/private key pair on a Windows machine by using the PuTTYgen application, which is installed with PuTTY.

Procedure

1. If necessary, download and install PuTTY from putty.org

2. Run PuTTYgen and click the "Generate" button.

PuTTYgen - Generate Button

PuTTYgen - Generate Button


3. Move your mouse over the blank area as instructed.

PuTTYgen - Generating Randomness

PuTTYgen - Generating Randomness


4. Enter your name in the Key Comment field. Optionally specify a Key Passphrase.

PuTTYgen - Key Comment and Key Passphrase Fields

PuTTYgen - Key Comment and Key Passphrase Fields


5. Click the "Save Private Key" button to save PPK file. (You will use this when you make an SSH connection to the server.)

PuTTYgen - Save Private Key button

PuTTYgen - Save Private Key button


VERY IMPORTANT: DO NOT SHARE YOUR PRIVATE KEY WITH ANYONE! DO NOT EMAIL IT! DO NOT POST IT ANYWHERE ON THE INTERNET!

6. Right-click the "Public key for pasting into OpenSSH authorized_keys file" field and click "Select All" from the context menu.

PuTTYgen - Public Key  Select All

PuTTYgen - Public Key > Select All


7. Copy and paste the text into a text file.

8. Save the file using the naming convention "FirstName_LastName.pub"

Follow-Up

The public key will need to be uploaded to the server via this procedure.

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2018, Patrick Jasinski.