How To Install putty-tools on Debian 12

Learn how to install putty-tools on Debian 12 with this tutorial. putty-tools is command-line tools for SSH, SCP, and SFTP

Introduction

In this tutorial we learn how to install putty-tools on Debian 12.

What is putty-tools

putty-tools is:

This package provides several command-line tools from the PuTTY suite that allow various kinds of secure interaction with remote systems.

Plink (PuTTY Link) connects to a remote system via SSH, Telnet, or rlogin, and either starts an interactive session or runs a batch process. It supports the usual SSH features like port forwarding, X11 forwarding, SOCKS, and compression.

PSCP (PuTTY Secure Copy) transfers files securely between systems using an SSH connection. It works with both SSH protocol 1 and protocol 2.

PSFTP (PuTTY SFTP client) transfers files securely between systems using the SSH file transfer protocol, which is specific to SSH protocol 2. In interactive mode its interface is much like the traditional Unix FTP client, although it can also operate in batch mode.

PuTTYgen generates SSH public and private key pairs in any of a number of formats, including those usable by PuTTY, OpenSSH, and ssh.com.

psusan (pseudo-SSH for untappable, separately authenticated networks) is a server program that behaves like the innermost “connection” layer of an SSH session, without the two outer security layers of encryption and authentication. It can be used to add SSH-like amenities to channels where you were already prepared to run a bare shell session.

There are three methods to install putty-tools on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install putty-tools Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install putty-tools using apt-get by running the following command:

sudo apt-get -y install putty-tools

Install putty-tools Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install putty-tools using apt by running the following command:

sudo apt -y install putty-tools

Install putty-tools Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install putty-tools using aptitude by running the following command:

sudo aptitude -y install putty-tools

How To Uninstall putty-tools on Debian 12

To uninstall only the putty-tools package we can use the following command:

sudo apt-get remove putty-tools

Uninstall putty-tools And Its Dependencies

To uninstall putty-tools and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove putty-tools

Remove putty-tools Configurations and Data

To remove putty-tools configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge putty-tools

Remove putty-tools configuration, data, and all of its dependencies

We can use the following command to remove putty-tools configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge putty-tools

Dependencies

putty-tools have the following dependencies:

References

Summary

In this tutorial we learn how to install putty-tools package on Debian 12 using different package management tools: apt, apt-get and aptitude.