Sorry, my mistake. I created a script, and the file had windows new
lines... I always forget that with TextPad. But I did read the readme and
now I have these files:
denyhosts.cfg
daemon-control
So the install/config seem to work.
When I start this I get error (/var/log/denyhost.log):
DenyHosts could not obtain lock (pid: )
[Errno 2] No such file or directory: '/var/lock/subsys/denyhosts'
starting DenyHosts: /usr/bin/env python /usr/bin/denyhosts.py --daemon
--config=/usr/share/denyhosts/denyhosts.cfg
The service will not start, just the above message in log.
Here is what I run
cygrunsrv -I DenyHosts -p /usr/share/denyhosts/daemon-control -a start -d
DenyHosts -f "DenyHosts 2.6" -y sshd -x /var/run/denyhosts.pid -o
cygrunsrv -S DenyHosts
I removed the \ in the "-a start option", it did not like that. Is it
needed?