This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Stop Brute Force Attack on SSH
Yes I have this now:
DENYHOSTS_BIN = "/usr/bin/denyhosts.py"
DENYHOSTS_LOCK = "/var/run/denyhosts"
DENYHOSTS_CFG = "/usr/share/denyhosts/denyhosts.cfg"
I changed the lock dir, same issue.
-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf Of
René Berber
Sent: Sunday, February 17, 2008 9:10 PM
To: cygwin@cygwin.com
Subject: Re: Stop Brute Force Attack on SSH
Kyle A. Dawson wrote:
> The install worked great. But when I try to create the service:
>
> 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
>
> I get this:
>
> cygrunsrv: unknown option --
>
> Also, this does not exist:
>
> /usr/share/denyhosts/daemon-control
Sorry, replied directly before noticing this message.
The second problem is caused by a step I forgot, which is documented in
the installation instructions /usr/share/denyhosts/README.txt: you have
to copy daemon-control-dist to the script used and edit (if necessary)
the 3 lines about location of things.
The first problem is probably caused by the second one. Let me know if
it's still a problem and I'll check further.
--
René Berber
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/