sshguard command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
sshguard: command not found
or when using sudo you get the following error message
sudo: sshguard: command not found
Solutions to sshguard: command not found
How To Fix sshguard: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu sshguard is provided by sshguard package.
sshguard is:
Protects networked hosts from the today’s widespread brute force attacks against ssh servers. It detects such attacks and blocks the author’s address with a firewall rule.
To fix this problem, we can install more using the command below.
sudo apt-get -y install sshguard
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install sshguard.
sudo apt -y install sshguard
Or if you have aptitude installed you can use the following command.
sudo aptitude install sshguard
Summary
In this tutorial we learn how to fix sshguard command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.