Generating SSH Key using PuTTYgen

What Will I Learn?

What is SSH?

What are the public/private keys?

Generating Public/Private SSH Key using PuTTY

Requirements

A Opensource Software called PuTTY link

Difficulty

  • Basic

Tutorial Contents

What is SSH?

The SSH protocol (Secure Shell) is a method for secure remote login from one computer to another. with strong encryption

What are the public/private keys?

Public Key: A public key is a large numerical value that is used to encrypt data and stored in the host which we want to access

Private Key: A private key is another large numerical value that is mathematically linked to the public key which is like a lock to unlock the host which we want to connect

Generating Public/Private SSH Key using PuTTY

1.Downloading and Installing the PuTTY

Download the PuTTY software from the link given in the "Requirements" section
Screenshot (13).png
Select the respective bit which is 32bit/64bit
and install the downloaded software just like a normal software

2.Open PuTTYgen

Just search for the PuTTYgen program and open the program

Screenshot (12).png

3.Selecting the parameters

Select the Type of key to generate as RSA

Basically we use RSA because it is used both for encryption and digital signatures and supports 2048 bit

Screenshot (14).png

4.Generating

After selecting the parameters click the Generate button

Screenshot (7).png

and move your mouse cursor randomly in the empty area until the progress bar fills up to generate your key

Screenshot (8).png

5.Saving

After completion of progress bar you can see the following screen just like below

Screenshot (9).png

Marked red area is the public key

Now, save your generated public/private key in your local pc by using save public key & save private key



Posted on Utopian.io - Rewarding Open Source Contributors

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now