How to Install PuTTy on Ubuntu 24.04, 22.04 or 20.04

PuTTy SSH Client is a widely recognized and versatile tool for secure remote access to servers and computing systems. Its reliability and comprehensive feature set make it a preferred choice for administrators, developers, and IT professionals. PuTTy SSH Client offers more than just a primary terminal interface; it provides a robust set of functionalities that cater to various needs and scenarios in network management and security.

Here’s why PuTTy stands out:

  • Secure Communication: Utilizes SSH protocol to ensure encrypted and secure communication between different devices.
  • Portability: It is lightweight and requires no installation, making it easy to carry on a USB stick or access from different machines.
  • User-friendly Interface: Offers a straightforward GUI that simplifies the connection process.
  • Advanced Session Management: Allows saving session configurations for quick and easy access to frequently used connections.
  • Versatile Protocol Support: It supports not only SSH but also Telnet, SCP, and SFTP, catering to various networking tasks.
  • Key Generation Tool: This tool comes with PuTTYgen, which generates SSH keys for enhanced security.
  • Flexible Configuration Options: Provides extensive configuration options to tailor the client to specific needs.
  • Cross-Platform Accessibility: While primarily used on Windows, PuTTy can be installed on Linux, offering flexibility across different operating systems.

Understanding these features sets the stage for efficiently setting up and using the PuTTy SSH Client on your Ubuntu Linux system. Now, let’s dive into the technical how-to of installing PuTTy on your Ubuntu machine.

Install PuTTy SSH Client via APT

Update Ubuntu Before PuTTy Installation

Before proceeding, ensure your system is up-to-date by executing the following terminal command:

sudo apt update && sudo apt upgrade

Install PuTTY via APT Command

Use the terminal command below to install the software. Note that Ubuntu’s default repository already includes the software, simplifying the installation process.

sudo apt install putty putty-tools

To confirm the successful installation of PuTTy, you can verify its version using the following steps.

putty --version

Launch PuTTY SSH Client Graphical Interface

There are two ways to launch the PuTTy user interface, one of which is through the command line terminal.

CLI Command to Launch PuTTy SSH Client UI

First, you can enter the following command in your terminal:

putty

GUI Path to Launch PuTTy SSH Client UI

The other method for launching PuTTy is through the graphical user interface by clicking on the PuTTy icon in your application launcher:

Activities > Show Applications > PuTTY SSH Client.

PuTTy Terminal Commands Examples

In this section, we’ll explore some of the most common commands you might use with PuTTY, including the secure copy client (SCP), utilizing SFTP to manage remote server files securely, and generating SSH RSA and DSA keys.

Connect to a remote server

The basic command to connect to a remote server using PuTTY is:

putty [user@]hostname

Where [user@] is the username you want to use to connect to the remote server, and hostname is the hostname or IP address of the remote server.

Example:

putty [email protected]

Using the username root, this command will connect to the remote server at IP address 192.168.1.100.

Transfer files securely with PuTTY SCP

The secure copy client (SCP) in PuTTY lets you transfer files between your local machine and a remote server. SCP uses SFTP (SSH File Transfer Protocol) to ensure the secure transfer of your data.

The basic command to transfer a file from your local machine to a remote server using SCP is:

scp local_file user@host:remote_file

Where local_file is the path to the file on your local machine, user@host is the username and hostname of the remote server, and remote_file is the path to the file on the remote server.

Example:

scp /home/user/file.txt [email protected]:/root/file.txt

This command will transfer the file /home/user/file.txt from your local machine to the remote server at IP address 192.168.1.100, placing it in the /root directory on the remote server.

puttygen

This will launch the PuTTY Key Generator, where you can generate RSA or DSA keys. Select the type of key you want to generate and follow the on-screen instructions to generate your key.

Additional PuTTY SSH Client Commands

Remove PuTTY SSH Client

If you want to remove PuTTY from your system, use the following terminal command:

sudo apt remove putty putty-tools

Conclusion

There you have it! We’ve walked through the steps to install PuTTy SSH Client on Ubuntu, making your secure server access a breeze. PuTTy is more than just a tool—it’s your gateway to efficient, encrypted, and flexible remote connections. Keep your software updated, and don’t hesitate to explore the advanced features we discussed. Whether you’re managing servers or hopping into different systems, PuTTy’s got your back. Thanks for sticking with us, and here’s to making your tech life a bit easier!

Useful Links

Here are some valuable links related to using PuTTY:

  • PuTTY Official Website: Visit the official PuTTY website for information about the SSH and telnet client, its features, and download options.
  • PuTTY Documentation: Access comprehensive documentation for detailed guides on installing, configuring, and using PuTTY.
Joshua James
Follow me

en_USEN
TOC Index
Your Mastodon Instance
Share to...