Skip to content
Snippets Groups Projects

SSHGuard

sshguard protects hosts from brute-force attacks against SSH and other services. It aggregates system logs and blocks repeat offenders using one of several firewall backends.

Installation

See INSTALL.rst for dependencies and detailed instructions. Briefly:

If you are building from Git, run this first:

autoreconf -i

Then, build it like a normal source distribution:

./configure
make && make install

Usage

Copy the sample configuration file examples/sshguard.conf.sample and follow the setup instructions in sshguard-setup(7). See sshguard(8) for additional options.

Troubleshooting

See the "Troubleshooting" section in sshguard-setup(7).

Contributing

See CONTRIBUTING.rst>.

License

sshguard is available under the terms of the OpenBSD license, which is based on the ISC License. See COPYING for details.

Authors