How To Use Putty As SSH Client?


PuTTY is open-source and free ssh and telnet client used to connect remote SSH and Telnet services. SSH provides secure access to remote systems like Linux, Ubuntu, CentOS, Debian, Kali, Mint, RedHat, Cisco, Huawei, and similar network gears.

Download PuTTY

PuTTY is mainly designed for Windows operating systems. PuTTY software is provided as 32, 64 bit, and installer or single executable versions.

Windows 32 Bit Installer:

https://the.earth.li/~sgtatham/putty/latest/w32/putty-0.70-installer.msi

Windows 64 Bit Installer:

https://the.earth.li/~sgtatham/putty/latest/w64/putty-64bit-0.70-installer.msi

Windows 32 Bit Executable:

https://the.earth.li/~sgtatham/putty/latest/w32/putty.exe

Windows 64 Bit Executable:

https://the.earth.li/~sgtatham/putty/latest/w64/putty.exe

Install PuTTY

Install Putty For Ubuntu, Debian, Mint, Kali

We will install putty with the following command in Ubuntu, Debian, Mint and Kali.

$ sudo apt install putty
Ubuntu, Debian, Mint, Kali
Ubuntu, Debian, Mint, Kali

Install Putty For Fedora, CentOS, RHEL

$ sudo yum install putty

Install Putty For Windows

As we do not need install for single executable files. For Installer versions just issue magic Next->Next->Next tactic.

Install PuTTY
Install PuTTY

Open PuTTY

We will open PuTTY client from Program Files or Start menu search like below.

Open PuTTY
Open PuTTY

Create SSH Configuration

We will create SSH configuration and save it to call in the feature easily. We will pu following options like below.

  • Host Name or IP Address information about the server which is 192.168.153.207
  • As we will use SSH protocol Connection Type stays as SSH
  • Port is default SSH port which is 22 but if the server provides SSH from different port like 2222 put here.
  • Saved Sessions section provides the name of the configuration which is poftut1 in this case

We will click so Save button in order to save current configuration with the name of poftut1.

Create SSH Configuration
Create SSH Configuration

After clicking Save the  poftut1 connection will appear in the saved connection list.

Create SSH Configuration
Create SSH Configuration

Connect Remote SSH Server with Putty

We have saved our connection. In order to connect the remote system with this save the connection, we will select connection and click Open down right corner or we can double click to the connection.

Connect Remote SSH Server with Putty

This will start the connection. If the connection is made for the first time as a security mechanism we will be asked to authenticate the remote SSH server. We will click Yes.

Accept SSH Server Fingerprint

Enter Username and Password

After connection is established we will be asked for credentials which is username and password in this case. We will get the Login as prompt for username and password for password.

Enter Username and Password
Enter Username and Password

After we provide the right credentials we will log in to the shell of the remote server a get the following banner.

Enter Username and Password
Enter Username and Password

Set User Name For SSH Connection

There is a practical way in order to prevent enter login or username for each time during connection. We will put the username before the Host name or IP Address like below and save this configuration.

Set User Name For SSH Connection
Set User Name For SSH Connection

LEARN MORE  How To Create and Setup SSH Keys For Passwordless and Public Key Based Authentication In Linux?

Leave a Comment