What is PuTTY? How to install and use it?

What is PuTTY?

PuTTY is a free open source terminal emulator, serial console and network file transfer application. It supports many network protocols, such as telnet, SSH and raw socket connection.

PuTTY comes with many features like

  • PuTTY (the Telnet and SSH client itself)
  • PSCP (an SCP client, i.e. command-line secure file copy)
  • PSFTP (an SFTP client, i.e., general file transfer sessions much like FTP)
  • PuTTYtel (a Telnet-only client)
  • Plink (a command-line interface to the PuTTY back ends)
  • Pageant (an SSH authentication agent for PuTTY, PSCP, PSFTP, and Plink)
  • PuTTYgen (an RSA and DSA key generation utility)

How to install PuTTY?

First download from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Install PuTTY on windows

After completion of downloading the package for windows, follow the steps.

  1. Run it and select ‘Next’.
  2. By default, the installer will install in C:\Program Files (x86)\PuTTY (C:\Program Files\PuTTY for 32-bit systems).  Select “Next”.put1jpg
  3. In ‘select start menu folder’, create shortcuts and click ‘Next’.put2
  4. In ‘select addtional task’, just choose the ‘create a desktop icon for PuTTY’  and click ‘Next’.put3jpg
  5. The installer will review your choices and select ‘Install’ after you have down. Finally click ‘Finish’ button.

Note: There is also a portable version of PuTTY is available, in case you don’t want to install PuTTY on windows. Just search for “Portable PuTTY” and you will find many options. Just download and open it to run basic PuTTY without any installation.

How to use PuTTY by connecting to Remote Server

To connect the PuTTY into the Remote server, Provide the Hostname or IP address of the remote server and the port number of which the SSH server is listing. The default port number is 22, if you install SSH server you may use different port.

putty-connection-settings

Click open to start the SSH session. If this is your first time connecting to the server, the following      window should appear. Click ‘Yes’ to accept the connection.

Putty_alert

Once the SSH connection is established, you should see a terminal prompt asking for your username.

login as :

Connect with your SSH user of the choice.

Next enter your password, note that you will see your cursor moving or any characters typed (such as *****), when typing your password. This is the standard PuTTY security features. Hit enter.

Using keyboard-interactive authentication.

Password:

You are now logged into your server with SSH, you should see the output as follows on the prompt terminal. Now you can begin typing comments to use PuTTY.

The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. example.com@n11:~$

Now you can begin typing commands at the prompt to use PuTTY.