endlessh command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
endlessh: command not found
or when using sudo you get the following error message
sudo: endlessh: command not found
Solutions to endlessh: command not found
How To Fix endlessh: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu endlessh is provided by endlessh package.
endlessh is:
Endlessh is an SSH tarpit that very slowly sends an endless, random SSH banner. It keeps SSH clients locked up for hours or even days at a time. The purpose is to put your real SSH server on another port and then let abusive bots get stuck in this tarpit instead of bothering a real server.
Since the tarpit is in the banner before any cryptographic exchange occurs, this program doesn’t depend on any cryptographic libraries. It’s a simple, single-threaded, standalone C program. It uses poll() to trap multiple clients at a time.
See https://nullprogram.com/blog/2019/03/22/ for more details.
To fix this problem, we can install more using the command below.
sudo apt-get -y install endlessh
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install endlessh.
sudo apt -y install endlessh
Or if you have aptitude installed you can use the following command.
sudo aptitude install endlessh
Summary
In this tutorial we learn how to fix endlessh command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.