How to Install PuTTY (SSH Client) on Ubuntu Linux

In this post, we will explain you how to install Putty (SSH Client) on Ubuntu Linux.

In the world of Linux, secure remote connections are essential for managing servers, devices, and networking equipment. One of the most popular tools for establishing secure shell (SSH) connections is PuTTY. While PuTTY is primarily associated with Windows, did you know that you can install PuTTY on Ubuntu Linux too?

Putty supports flexible terminal setup, mid-session reconfiguration using Ctrl-rightclick, multiple X11 authentication protocols, and various other interesting things not provided by ssh in an xterm. It also supports various protocols like Telnet, SCP, rlogin, SFTP and Serial.

Prerequisites

  • Pre-Installed Ubuntu System
  • Sudo user with admin rights
  • Internet Connectivity

Note: We have tested below procedure of installing putty on Ubuntu 22.04 / 20.04 system.

Installing Putty on Ubuntu Linux from Command Line

Putty package and its dependencies are available in the default package repositories of Ubuntu 22.04/20.04. So, its installation is quite easy.

Open the terminal and run below apt commands to install putty.

$ sudo apt update
$ sudo apt install putty -y

Install-Putty-Ubuntu-Linux-Command-Line

After installing putty verify its version, run

$ putty --version

Verify-Putty-Version-Ubuntu-Linux

Installing PuTYY Using Synaptic Package Manager

Alternate way to install putty is via Synaptic Package Manager GUI, In case synaptic is not installed the first install it via below command,

$ sudo apt install synaptic -y

Once the synaptic is installed, access the Synaptic Package Manager, search synaptic from Activity as shown,

Search-Synaptic-Activity-Ubuntu

click on “Synaptic Package Manager” icon. It will prompt you to enter your user’s password.

Now search putty,

Search-Putty-Synaptic-Package-Manager

Click on Search

Installing-Putty-via-Synaptic-Ubuntu-Linux

choose putty and Select ‘Mark for Installation‘ option & then click on Apply.

Access Putty SSH Client

To access putty, run following command from the terminal

$ sudo putty

or

Search putty from Activity as shown below,

Access-Putty-Ubuntu-Linux

Click on PuTTY SSH Client, we will get the following putty screen. Enter Remote Server’s IP Address or Hostname.

Access-Putty-Ubuntu-Linux

Accept-Servers-Host-Key-Putty-Linux

Click On Accept , then it will prompt you for the Password as shown below :

SSH-Remote-Linux-With-Putty-Ubuntu

Use Putty to access Cloud Linux VM

Let’s suppose we want to access our public cloud VM (virtual machine) via putty using their private SSH keys, so for that refer the below steps:

1) Access the Putty

2) Enter User Name and External IP address of your Cloud VM in ‘Host Name’ field

Cloud-VM-User-Name-IP-Putty

Here User name is the same user for which SSH keys are generated. By default SSH keys are generated in .pem format and putty don’t accept .pem ssh private keys, so it is recommended covert .pem ssh keys into .ppk format. One of the easiest way to convert keys into .ppk is via PuTTYgen utility, example is shown below. Puttygen utility will be installed automatically when we install putty.

$ puttygen my-ssh-key.pem -o my-ssh-key.ppk

3) From SSH Tab, choose ‘Auth’ and then browse .ppk format ssh key,

SSH-Private-Key-Putty-Linux

Now click on Open to start the SSH session with cloud VM, After the successful Connection to the Cloud VM, run the commands and other tasks that you want to do and to come out of VM or disconnect from VM type exit command.

That’s all from this pots. We have you have found it useful and informative. Feel free to post your queries and feedback in below comments section.

23 thoughts on “How to Install PuTTY (SSH Client) on Ubuntu Linux”

  1. Nice post. But why would you need to install putty, it’s just a frontend for ssh. It’s much easier to use ssh from the command line.

    1. Hi. Putty is more than just ssh. A good use is to use the serial option to “console in” to cisco devices. It also has a great Rlogin option.

      1. wondering if anyone can help. I am completely new at Ubuntu. Currently running Zorin Core and I’m trying to connect my cisco lab to my PC using puTTy using a Serial connection. Now when I select “Serial” , the “serial line” tab is automatically filled out: /dev/ttyS0.
        I hit open and get an error saying : Unable to open connection to :
        Unable to open serial port.
        What is it I need to do to make make that serial connection communicate with my client on the PC? Appreciate any help I can get.

        1. I think you don’t have permissions to open it. From a terminal: chown $USER /dev/ttySo (or the path that appears there). You could also do it with the file manager.

  2. How does one do a paste from the clipboard in Putty?
    Ctrl-V and Ctrl-Shift-V do not work.
    The Windows version of Putty has no problems with this.

  3. I can’t see My newly installed E1/T1 on wired network adapters on Ubuntu, but I can see it when hwinfo -short command issued, sorry i am new to linux/unix op systems, please help i need to give an ip address.
    Thanks

  4. You can paste in to putty by connecting a mouse with a wheel by putting the curser in putty and press once on the wheel and it has now pasted.

  5. Exist the possibility to have and GUI (like TeamViewer) and also to use Putty in the same time ? I also have possibility to open in the same time more connection (to connect in the same time on a master PC and slave PC for example) ?
    Your answer is very important for me, because I installed Ubuntu 17.10 on 2 PC’s, and I use on-board video graphic card and from this reason doesn’t allow me to use TeamViewer and I search more safety and lighter possibility to have remote control on both PC’s.

    Thanks in advance for support and advice.

Leave a Comment

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