pageant command not found

In this troubleshooting guide we learn how to fix pageant command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

pageant: command not found

or when using sudo you get the following error message

sudo: pageant: command not found

Solutions to pageant: command not found

How To Fix pageant: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pageant is provided by putty package.

putty is:

This is the Unix port of the popular Windows SSH client, PuTTY. It supports flexible terminal setup, mid-session reconfiguration using Ctrl-rightclick, multiple X11 authentication protocols, and various other interesting things not provided by ssh in an xterm.

Pageant is an SSH authentication agent, and a tool for communicating with an already-running agent.

To fix this problem, we can install more using the command below.

sudo apt-get -y install putty

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install putty.

sudo apt -y install putty

Or if you have aptitude installed you can use the following command.

sudo aptitude install putty

Summary

In this tutorial we learn how to fix pageant command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.