I was experimenting with denyhosts from my home computer and now it has blocked my ip address and put in /etc/hosts.deny.
Now my ip is not static and it chnages every week so i cna have fixed ip in hosts.allow.
I tried manually deleting that ip from /etc/hosts.deny and it again adds that address after 5 mins.
How can i manually delete the blocked ip address from denyhosts
centos
You actually need to stop denyhosts, then remove the offending entry from 6 other files and restart it.
The affected files are:
here is a Python script I created to do the same thing -- usage is sudo ./unban.py ip-goes-here
/usr/local/bin/denyhosts_unban
This is also covered in the DenyHosts FAQ: http://denyhosts.sourceforge.net/faq.html#3_19