PuTTy Tutorial

PuTTy Tutorial

Learn how to use PuTTy to access your account via SSH

This tutorial explains how to connect to your SiteGround hosting account via SSH using PuTTY. The Software can be downloaded from this link. Download the latest available version and install the application somewhere on your machine.

Then you need to login to your cPanel -> SSH/Shell Access tool and generate an SSH key pair as explained here.

After you have generated your SSH Key you will see it in the bottom of the page. Click on the Private Key link which will get you to the corresponding page where you will be able to view and copy the key.

Then create a file called private_key.ppk on your computer, open it with notepad, paste your private key inside and save the file.

After this start puttygen.exe and click on the Load button.

Navigate to and select the private_key.ppk file that you have previously created with your private key and click on the Openbutton.

You will be prompted for the passphrase that you have used to generate the SSH Key. Enter the passphrase and the key will be loaded.

Once your key is loaded you need to change the Type of key to generate option to DSA. After this click on the Save private key button and save it as another file (for example putty.ppk).

Next, you need to start the pageant.exe application. Once you do so, a new icon will appear at the bottom left side of your screen indicating that the program is running. Right click that icon, then select the Add Key option.

Navigate to the location of the putty.ppk file you created in the previous steps, select it and click Open.

You will be prompted to enter the key’s passphrase again in order to load it in the application. Provide it and click OK to add the key.

Next open the putty.exe program and enter the server hostname or IP of your account in the Host Name field. You can see how to find this information here. The connection type should be set to SSH and the port should be set to 18765.

Click the Open button and the connection will be initiated.

Upon your first login you will be prompted to save the server host key in the cache. Click Yes to store the key and stop that notification from showing every time you connect via SSH to your account.

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

Share this post

Leave a Reply

Your email address will not be published. Required fields are marked *