cajunman4life said:I use denyhosts on my server, and it works great.
Be sure to edit your /etc/hosts.allow as such:
Comment out the ALL : ALL : allow line, otherwise none of the other rules you set will work.
Use the following for the sshd section:
sshd : /etc/hosts.deniedssh : deny
sshd : ALL : allow
And configure denyhosts appropriately (the denyhosts configuration file is very well commented)