How to Install PuTTY on Ubuntu

September 17, 2021

Introduction

PuTTY was developed for Windows as an open-source SSH and Telnet client, available outside Windows as well. Since it is open source, it has gained popularity among Linux users as well.

PuTTY supports a wide range of protocols, including serial connection, rlogin, SFTP, SCP, Telnet and SSH.

This guide shows how to install PuTTY on Ubuntu.

How to install PuTTY on Ubuntu

Prerequisites

Install PuTTY on Ubuntu

The easiest way to install PuTTY on Ubuntu is via the terminal. Follow the steps below to install PuTTY.

Step 1: Enable Universe Repository

PuTTY is available in the Ubuntu Universe repository. To enable the repository:

1. Open a terminal window (Ctrl + Alt + T) and enable the Universe repository on your system by running:

sudo add-apt-repository universe

2. Enter your password when asked and press Enter.

If the universe repository is already enabled on your machine, the output states so. Otherwise, it enables the Universe repository on your machine.

Add the Universe repository in Ubuntu.

Step 2: Update Package Repository

Update your system package repository before installing PuTTY to make sure you install the latest program version.

To do so, enter:

sudo apt update

Note: Updating the repository is essential before installing new software because it makes sure your package lists from all repositories and PPAs are up to date. That way, you are installing the latest stable program version.

Update the package repository on Ubuntu.

Step 3: Install PuTTY

Install PuTTY by running the following command:

sudo apt install -y putty

Note: Specifying the -y flag automatically answers YES to any questions during the installation process. If you would rather review them, leave out the -y flag.

Install PuTTY via the command line.

Installing the PuTTY package also grants access to several command-line tools:

  • pscp. A PuTTY tool for copying files via the SCP protocol.
  • psftp. A PuTTY tool for managing files via SFTP. This allows you to securely copy, delete, transfer, and list files.
  • puttygen. RSA and DSA key generator.

Step 4: Verify Installation

After the installation completes, you can verify it and check the program version by running:

putty --version

The output shows the program release version and other details.

Check PuTTY version in Ubuntu.

Run PuTTY

Run PuTTY in two ways:

  • Enter the app name in the terminal and press Enter:
putty
  • Another way to run PuTTY is to find it in the Application menu by typing 'putty' and launching the tool.
Run PuTTY from the Application menu.

After running PuTTY, the configuration options allow you to choose the connection type. Choose between raw, Telnet, rlogin, SSH, or serial connection. Enter a port number, a server hostname or IP address, and start a new session.

Configure PuTTY and start a new session.

Note: If you are looking to use a different Telnet and SSH client, read about popular PuTTY alternatives.

Conclusion

You should now have PuTTY installed on your Ubuntu system and ready to use.

Feel free to test out PuTTY, as it has various benefits. Apart from its session management, PuTTY offers several other great customization features that allow you to find and fix bugs, access serial ports, etc.

For Windows and Mac installation guides, check out our articles on installing PuTTY on Windows and installing PuTTY on Mac.

Was this article helpful?
YesNo
Bosko Marijan
Having worked as an educator and content writer, combined with his lifelong passion for all things high-tech, Bosko strives to simplify intricate concepts and make them user-friendly. That has led him to technical writing at PhoenixNAP, where he continues his mission of spreading knowledge.
Next you should read
19 Common SSH Commands in Linux
September 5, 2024

This guide covers the most useful commands such as specifying a username for your connection, using a different port number, generating SSH key pairs, and much more.
Read more
How to Use SSH Port Forwarding
July 5, 2024

This article demonstrates 3 distinct methods used to port forward SSH connections. It examines the syntax of the individual commands and teaches you everything you need to know to implement SSH port forwarding successfully.
Read more
Use SSH to Connect to a Remote Server in Linux or Windows
October 24, 2024

In this tutorial, Find out How To Use SSH to Connect to a Remote Server in Linux or Windows. Get started with an SSH connection to a Server Today!
Read more
21 Server Security Tips to Secure Your Server
September 17, 2021

Hackers are always on the lookout for server vulnerabilities. Minimize risks and be confident your data is safe on secure servers by implementing our server security best practices.
Read more