scanssh command not found

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

Introduction

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

scanssh: command not found

or when using sudo you get the following error message

sudo: scanssh: command not found

Solutions to scanssh: command not found

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

In Ubuntu scanssh is provided by scanssh package.

scanssh is:

The ScanSSH protocol scanner scans a list of addresses and networks for running SSH protocol servers and their version numbers. Version 2.0 adds support for scanning arbitrary ports and specifically open proxies. The ScanSSH protocol scanner supports random selection of IP addresses from large network ranges and is useful for gathering statistics on the deployment of SSH protocol servers in a company or the Internet as whole.

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

sudo apt-get -y install scanssh

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

You can also use apt command to install scanssh.

sudo apt -y install scanssh

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

sudo aptitude install scanssh

Summary

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