How To Install putty-tools on Kali Linux

In this tutorial we learn how to install putty-tools on Kali Linux. putty-tools is command-line tools for SSH, SCP, and SFTP

Introduction

In this tutorial we learn how to install putty-tools on Kali Linux.

What is putty-tools

putty-tools is:

This package provides four 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.

All these utilities can make use of PuTTY’s saved sessions where appropriate.

There are three methods to install putty-tools on Kali Linux. 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 on Kali Linux first since aptitude is usually not installed by default on Kali Linux. 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 Kali Linux

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 Kali Linux, 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 Kali Linux 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 Kali Linux using different package management tools: apt, apt-get and aptitude.