-
Download, unpack run
python setup.py install
(may need to be reinstalled if Python is upgraded) - May need to copy the *-dist files to non-dist suffixed ones as per README.txt, and likely change the paths of the lock file (to the Debian one for Cygwin) and the sshd log file (
/var/log/sshd.log
for me on Cygwin). - May need to rebase Cygwin libraries
- Enter registry keys for the service (and sshd) to be able to create Custom Views in Event Viewer (creates event source, executable still lacks the messages though).
cygrunsrv -I denyhosts -p /usr/share/denyhosts/daemon-control -a start -d "CYGWIN denyhosts" -f "Blocks IP addresses that attempt to brute-force SSH logins." -y sshd -x /var/run/denyhosts -o
- If not running, check no old PID file and examine
/var/log/denyhosts*
- Having another Python in the path (e.g. ActiveState) appears to cause problems with Unix-style paths.