Linux – Preventing brute force attacks

brute-force-attackslinuxSecurity

What are the best tools to prevent Brute force attacks against ssh and FTP on Linux servers ?

Best Answer

It's not to everyone's tastes but I really like DenyHosts for broad-brush blocking of automated probes to sshd :

http://denyhosts.sourceforge.net/

I use it in a very paranoid mode, if you trip it - you get an entry in hosts.deny with an ALL: prefix, not just an SSH: one. You can allow denyhosts to purge the deny list on a periodic basis if you so wish.