In this post, we will cover how to install and use putty on Ubuntu Linux.
System Admins who had worked on Windows Operating system, surely they have used putty software to ssh UNIX like systems. When they migrated to Ubuntu Desktop , they might require putty to manage their UNIX and Linux systems.
PuTTY is the most popular SSH client. It 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. Putty also supports various protocols like Telnet, SCP, rlogin, SFTP and Serial.
- 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.
Putty can be installed either from command line or synaptic package manager.
Installing Putty 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 on your ubuntu system and run below apt commands to install putty.
$ sudo apt update$ sudo apt install putty -y
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,
click on “Synaptic Package Manager” icon. It will prompt you to enter your user’s password.
Now search putty,
Click on Search
choose putty and Select ‘Mark for Installation‘ option & then click on apply.
Launch Putty SSH Client
Search putty from Activity as shown below,
Click on PuTTY SSH Client
Enter Remote Server’s IP Address or Hostname.
Click On Accept , then it will ask for User Name & Password as shown below :
Use Putty to access Cloud 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
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,
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 guide, please do post your queries and feedback in below comments section.
23 thoughts on “How to Install and Use Putty on Ubuntu Linux”
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.
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.
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.
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.
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.
+1! I have the same problem!!!
plus 3 – me too! Have not found a WAY TO replicate the much loved Putty cut and paste in my Lubuntu.
CTRL + Shift + Insert You can then click Paste to
Thank u so much, this one feature struggles me harder, finally got the resolution
Just right-click !
To copy – just highlight it
To paste- in putty just do a right click
In normal notepad Ctrl+v as normally
That was the site fruitfull for me;-) I have easily installed putty on ubuntu 14 (32bit)
ubuntu putty doesn’t allow ctrl+v because linux terminals don’t
Press Ctrl and right click in your putty ui => Copy All
in ubuntu with CTRL+shift +V
Ubuntu Putty do not want to say to one Terminal Type
ssh [email protected]
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. It worked.
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.
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.
I am having problems using PuTTY on Ubuntu OS. I wish to use the device /dev/ttyUSB0 in a session. I am getting a fatal error with the statements
Unable to open connection to:
Unable to open serial port:
#chmod 777 /dev/ttyUSB0
then try to connect again