Saturday, November 16, 2024
Google search engine
HomeGuest BlogsHow to Install PuTTY on Ubuntu

How to Install PuTTY on Ubuntu

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 UbuntuHow 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.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.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.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.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.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.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

RELATED ARTICLES

Most Popular

Recent Comments