SSHGuard is a A software to protect services in addition to SSH, written in C
How to install
To use this tool, please use a method listed below
In a Linux (Debian OS), run the following command(s).
Building from source
Obtain a source distribution from http://www.sshguard.net/. Extract the archive and run:
./configure make && make install
Alternatively, if you are building from the source repository:
git clone https://bitbucket.org/sshguard/sshguard.git cd sshguard/ autoreconf -i ./configure make && make install
C compiler with support for the C99 standard lex and yacc (or compatible variant)
If you are building from the source repository, you also need:
Debian and Ubuntu
apt install autoconf automake byacc flex gcc python-docutils
dnf install autoconf automake byacc flex gcc python-docutils
pkg install autotools byacc clang flex py27-docutils
Requires Xcode with command line utilities and Homebrew.
brew install autoconf automake byacc docutils flex
Download directly from the following link:
How to execute
Copy the sample configuration file examples/sshguard.conf.sample and follow the setup instructions in sshguard-setup(7). See sshguard(8) for additional options.
This article was contributed by Gavin Dennis from Jamaica. Gavin is a member of the Caribbean CSPA.