Installing dependencies

You can find an up to date set of build dependencies in the file called INSTALL or on BitBucket.

Building from a release tarball (preferred)

Download and uncompress the latest release from SourceForge.

$ cd sshguard/
$ ./configure --prefix=/opt/installpath
$ make

Building from the development repository

Briefly, to build from the development repository:

$ git clone
$ cd sshguard/
$ autoreconf -i
$ ./configure --prefix=/opt/installpath
$ make

Installing SSHGuard

Once you have built SSHGuard, you can install it on your system with this command:

# make install

See the examples/ directory for configuration examples, and see the man page for setup instructions.

Lates Releases View all»

  • Latest releases Latest releases are available from SourceForge. See 'News'.
  • sshguard 1.5 This is a milestone release, coming after 18 months ...
  • sshguard 1.5 Sshguard monitors services through their logging activity. It reacts ...

F.A.Q. View all»

  • What is sshguard?Sshguard is a small program that monitors services running on your machine from the log files. When it ...
  • Sshguard does not workYou have one of these problems: sshguard is not given logs correctly sshguard cannot run the commands for ...
  • What does sshguard do?The short version is: it receives log messages, it detects when a networked service has been abused based ...