Home Web Development How to Generate SSH Key with Putty | Add SSH Key to...

How to Generate SSH Key with Putty | Add SSH Key to Server

25
0
Generate SSH Key with Putty

Generate SSH Key with Putty

A complete hassle free way of logging in to your web server or any VPS, rather it’s safer using ssh than using Username & passwords.

If someone is trying to hack in to your then he must be trying to crack your credentials but since you have setup your SSH key, it’s wayyy to far for him to break your private key. that’s next to impossible.

Making an SSH key is very easy & is explained in this step by step, you should not be having any issue.

Follow these steps one after another & you will get your keys in maximum 5 minutes

1. Download & Install Putty from here 

2. open Putty Key generator [ Puttygen]

3. Click on generate & keep moving your mice on the blank field below the green progress bar until it fills

Generate SSH Key with Putty

4. You will get a Public Key & a Private Key

Public Key – You need to put this in third party app where you want to setup SSH like the Digital Ocean ssh public key field.
Private Key – Save this file in a very safe place as anyone with this file & your site name can login to your server with root access

Generate SSH Key with Putty

5. After you setup your SSH, You just need to make a configuration with the Private key & your IP, then you can login easily without entering any info while logging in at all.

6. Open Putty > Go to > Connection > SSH > Auth

Generate SSH Key with Putty

7. At the right side you have this Private Key file for Authentication > Browse & select the Private Key

8. Go back to Session > Put your IP address & port 22 as default

9. Now you can save the configuration & just doubble click on your IP address, you’ll be logged in to your server with root access.

Generate SSH Key with Putty
10. That’s all !!

 

LET ME KNOW IF THERE’S ANY DOUBT !!

Technology is one of my greatest crush and has always been. Blogging is my hobby with the aim to share knowledge on technology..How things are done & works . I believe that technology has gone further level than we are now and It’s time we get ourselves updated and Contribute a little bit of ours to the ever-growing World.

LEAVE A REPLY

Please enter your comment!
Please enter your name here