Deny Host

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

How to install Deny Hosts on Fedora 8:


1)  yum list denyhosts

2)  yum install packages listed (in this case it was: yum install denyhosts.noarch)

3) chkconfig denyhosts on (set it to start on boot. Same as putting a check in Webmin>System>Boot )

4) /etc/init.d/denyhosts start (this will start it up)

5)  use ps -A | grep deny to make sure its loaded

6) Config file is in /etc/denyhosts.conf if you want to have a look at it

7) Hosts that it blocks will be in /etc/hosts.deny

8) cat /etc/hosts.deny | grep ^ssh | wc -l Will let you know how many sites have been blocked


How to install Deny Hosts on SUSE SLES 11:

1) go here .. http://www.susegeek.com/security/denyhosts-to-secure-from-ssh-brut-force-attacks/

2) click on the appropriate ymp file

3) open said file in Yast2

4) accept the addition of opensuse repository

5) install denyhosts thru Yast2

6) chkconfig denyhosts will test if its started

7)chkconfig denyhosts on (set it to start on boot. Same as putting a check in Webmin>System>Boot )

8) /etc/init.d/denyhosts start (this will start it up)

9) cat /etc/hosts.deny Will let you know how many sites have been blocked