Preventing SSH dictionary attacks with DenyHosts
This article shows how to install and configure DenyHosts. DenyHosts is a tool that observes login attempts to SSH, and 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 DenyHosts is run as a daemon.
At Howto forge.
[ Read more ]