PuTTY is used for many reasons but the reason for which it is used the most is the SSH protocol (Secure Shell Protocol). Using PuTTY you can make an SSH connection to the server. So in this article, we will guide you that how you can make an SSH connection on Windows using PuTTY. But before we begin, let’s first quickly understand what PuTTY actually is?
What is PuTTY?
PuTTY is a free and open-source software application which was developed to remotely access another computer. It is a network file transfer application which was developed by Simon Tatham and initially released in 1999. Simon Tatham originally wrote PuTTY for windows, but later on, PuTTy was also ported to several other operating systems. PuTTY supports various network protocols like SSH, Telnet, rlogin and raw protocol. It also supports features like proxy sessions, language settings, session configuration and session logging.
Why is PuTTY useful?
If you are a web hosting customer, and you want to manage your web hosting account or to transfer any files, then you should know that how dangerous it is to connect to your Web Host through an unencrypted connection. The use of this unencrypted connection can put you in trouble, as a security cracker can get access to your web hosting account and get a chance to fulfil his malicious intents. So this is where SSH comes, as it is a secure and encrypted protocol. PuTTY, is the most commonly used SSH Client Software, gives us an easy and quick way to securely access a Unix Shell Environment from our Windows System over this SSH Protocol.
Making an SSH Connection to the Server using PuTTY
Note: Before starting, make sure that you have the SSH login credentials.
- First of all, you have to download PuTTY from the following link: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
- The putty.exe file will be downloaded within a few seconds. So go to the folder containing this file and move it to Windows(C:)
- Now double click the putty.exe file to start the application.
- Enter the hostname (e.g. hostname.com) OR s00000.gridserver.com (where ‘s’ stands for site and 00000 is your site number which is a unique number given to your account and server).
- The Port will be set to 22 and the Connection Type will be set to SSH by default. So leave these two as they are and click Open to begin SSH connection.
- You will get the following message if this is the first time you are connecting to the server from this computer.
So just click ‘Yes’ for connection confirmation.
- Once the connection is established, a terminal prompt will appear and will ask for your username.
Once you will enter your username, it will ask you to enter your password.
So enter your password. Hit ‘enter‘.
Note: It is one of the security features of PuTTY, that when you will be typing your password, you will not see any characters typed or cursor moving. So, don’t panic and take it normally.
- You will be then successfully logged into your server and can pass commands at terminal prompt.
So, this is how you can make an SSH Connection to your server using PuTTY.