How to generate an ssh key on windows

How to generate an SSH Key on Windows ?

 

SSH key generating on windows using tools and import the public in target Linux machine. In our guide we will learn about creating ssh key on windows using tools and import public key to the target PC .

 

How to generate an SSH Key on Windows ,  find steps as below.

Steps

Step 1: Download ssh-key Gen tool and generate the key pair.

Step 2: Import Public Key to a target PC

Step 3: Connecting to a Target PC using .pki file without a password

Step 1: Download ssh-key Gen tool and generate the key pair.

1.1

Download puttygen.exe tool from below link

http://the.earth.li/~sgtatham/putty/0.63/x86/puttygen.exe

1.2
Launch puttygen.exe tool and generate the key pair

1.3

Moving the mouse over the blank area is required to generate the key pair.

1.3

Save the key pair and the default file extention .ppk. , chose the file and the location to save it.

1.4

The public key for pasting into OpenSSH authorized_keys file in target machine /root/.ssh/authorized_key

 

Step 2: Import Public Key to a target PC

2.1
Login to target PC and paste the contents in /root/.ssh/authorized_keys

#vi /root/.ssh/authorized_keys

Paste here
Save and Exit!.

2.2

Change the file permission of authorized_keys

#chmod 600 /root/.ssh/authorized_keys

Step3: Connecting to a Target PC using .pki file without a password

3.1
Launch the putty.exe tool to connect a target PC and locate the .pki file generated in the above steps
putty.exe – > connection -> SSH ->Auth -> browse -> mykey.pki

How to generate an SSH Key on Windows , covered below topics

Download ssh-key Gen tool and generate the key pair.
Import Public to a target PC
Connecting to a Target PC using .pki file without a password

Watch the video :

Both comments and pings are currently closed.

Comments are closed.

Copyright ©Solutions@Experts.com
Copyright © NewWpThemes Techmark Solutions - www.techmarksolutions.co.uk