PHP

How to connect ssh in putty

How to connect ssh in putty

Putty is an SSH. Here I am using putty to connect my SSH with the server. By using Putty ssh we can directly access server command prompt.
Here we are going to see how to use SSH in Putty.

Step 1 :

DownloadPuTTY andPuTTYgen  here

PuTTy => putty.exe => Which is used to connect ssh

PuTTygen => puttygen.exe => Which is used to generate SSH key.

putty step1

Step 2:

Copy and paste the putty.exe file to C=>Programfiles => windows folder.

Double click the puttygen.exe.

putty step1

Click Generate Button to Generate SSH key.

step2

Key passpharse is password for your ssh.

Click Save private key to save your generated ssh key.

The saved file extension should be .ppk



Save your puttykey.ppk file to where your putty.exe is located.

step3

Step 3:

Double click putty.exe.

step4

Provide your Host Name or Ip Address to Ip address field.

Step 4 :

Under Connection => Data

step5

on Auto-login Username filed provide your cpanel Usename.

Step 5 :

Under Connection => SSH => Auth

step6

Click Browse button and choose the .ppk file from where you have stored.

step7

Step 6:

Place the generated ssh key to your sever.

Click Session on the left side. Below saved session Enter your site name and click save.
And Click the button Open.

Upon your first login you will be prompted to save the connection for future use by clicking Yes, connect just once by clicking No or do not connect at all by clicking Cancel. If you plan connecting to your hosting account from the same computer more than once we recommend you to click on the Yes button.
Thats it now you have connect ssh with putty and you will get below pop up.

At the end you will be prompted for the username. In the login as: field enter your cPanel username and click on the Enter button of your keyboard to connect to your hosting account through SSH.

 

step9

If you like this article don’t forget to share and comment.
Thanks!.