small logo

melfneerg.com

 - 'cos life is like that


[Blog]  [Pictures]  [Links]  [About
About the Author
Tudor Davies

author Tudor is a techie turned manager who fights like mad to keep his tech skills honed and relevant. Everything from web hosting, networking, *nix and the like. Constantly developing and co-ordinating with others to make the web a better (and easier to use) place.

DenyHosts

Wednesday, 9th Feb 2011  Posted @ 20:09

Using Linux?
Are you the subject of SSH brute force attacks?

I have been for some time, so I installed DenyHosts on all my boxes, like this:

wget http://packages.sw.be/denyhosts/denyhosts-2.6-3.el5.rf.noarch.rpm
rpm -i denyhosts-2.6-3.el5.rf.noarch.rpm
chkconfig denyhosts on
edit your /etc/denyhosts/denyhosts.cfg
then
service denyhosts start
I have mine emailing me when it adds a new host to the /etc/hosts.deny file, so that I can check it occasionally.

Note: These instructions are specifically for RedHat & CentOS 5 installations

[ no comments : Add ]

Tweet




layout and initial css based on the Qtractor page