Introduce DenyHosts

DenyHosts is a script intended to be run by Linux system administrators to help thwart SSH server attacks. If it finds failed login attempts again and again from the same IP address, DenyHosts blocks further login attempts from that IP address by putting it into /etc/hosts.deny. DenyHosts can be run by cron or as a daemon. In this tutorial I will run DenyHosts as a daemon.

If you’ve ever looked at your SSH log (/var/log/secure on Redhat & etc…) you may be alarmed to see how many hackers attempted to gain access to your server.

Installation:

Note: DenyHosts require Python2.3 & Python2.3-dev.
Read more

Possibly Related Posts:


Planet Malaysia

  • Follow us on Twitter


  • web www.planetmy.com