Re: HowTo setup cygwin + sshd using hosts.allow and hosts.deny and use detailed logging

2008-01-26 Thread René Berber
Martin wrote: After googeling a while i´m giving up. Can someone please give me a small HowTo I installed the most recent version of the cygwin distri. ( Full blown install) I can do successfully a ssh to my host. I have done some customizing to have sshd logging to /var/log/sshd.log. Solved by

RE: HowTo setup cygwin + sshd using hosts.allow and hosts.deny and use detailed logging

2008-01-27 Thread Martin
>Usually you don't need '-e', you just configure syslog. Really easy, with >syslog (part of the inetutils package) is a one liner: >auth.* /var/log/sshd.log >With syslog-ng you have more control but the configuration is longer. Thanks a lot - I didn´t know that would be that easy :) Working pe

Re: HowTo setup cygwin + sshd using hosts.allow and hosts.deny and use detailed logging

2008-01-27 Thread René Berber
Martin wrote: [snip] The last problem I want to solve is the use hosts.deny and hosts.allow with sshd. What do you mean exactly? Sshd was compiled with tcp-wrappers support, so the use of /etc/hosts.deny and hosts.allow works fine. Have you read the manual: 'man 5 hosts_access'? I use Deny

RE: HowTo setup cygwin + sshd using hosts.allow and hosts.deny and use detailed logging

2008-01-29 Thread Martin
Hello Rene! Thanks for pointing out that wonderful piece of software. I installed DenyHosts But again I got stuck. :( Now sshd do use hosts.deny well. But How can I start denyhosts without logging on to the machine ( logon to windows ) and open a Cygwin bash and start denyhosts by hand? I

Re: HowTo setup cygwin + sshd using hosts.allow and hosts.deny and use detailed logging

2008-01-29 Thread René Berber
Martin wrote: Thanks for pointing out that wonderful piece of software. I installed DenyHosts [snip] How can I start denyhosts without logging on to the machine ( logon to windows ) and open a Cygwin bash and start denyhosts by hand? I tried the following: cygrunsrv -I Denyhosts -d "CygWin D

Re: HowTo setup cygwin + sshd using hosts.allow and hosts.deny and use detailed logging

2008-01-31 Thread Martin
Hello Rene! First of all thanks. I would never dig up a commandline like yours by myself :) But again I ran into troubles For absolutely sure reasons I have cleaned cygwin from my maschine of course including Sshd_server User Account Sshd User Account All Services from cygwin ( sshd, denyhosts

Re: HowTo setup cygwin + sshd using hosts.allow and hosts.deny and use detailed logging

2008-01-31 Thread René Berber
Martin wrote: [snip] 1.) ssh-host-config with User Separation and install as a service 2.) syslogd-config 3.) Installed Denyhosts by issuing the command as Administrator Administator? I don't think that's needed, the installation is on Cygwin, Windows doesn't care about special administrator

Re: HowTo setup cygwin + sshd using hosts.allow and hosts.deny and use detailed logging

2008-02-01 Thread Martin
Hello Rene! SOLVED! Thanks again for your input. Without you it would not be possible to solve my problem. The Solution for running denyhosts under Cygwin as a Service including your wonderful cmd: cygrunsrv -I DenyHosts -p /usr/share/denyhosts/daemon-control -a start -d DenyHosts -f "DenyHosts

Re: HowTo setup cygwin + sshd using hosts.allow and hosts.deny and use detailed logging

2008-02-01 Thread René Berber
Martin wrote: SOLVED! Thanks again for your input. Without you it would not be possible to solve my problem. The Solution for running denyhosts under Cygwin as a Service including your wonderful cmd: cygrunsrv -I DenyHosts -p /usr/share/denyhosts/daemon-control -a start -d DenyHosts -f "DenyHo

Re: HowTo setup cygwin + sshd using hosts.allow and hosts.deny and use detailed logging

2008-02-02 Thread Martin
Hello Rene! Solved! Thanks again for your input. Without you it would not be possible to solve my problem. The Solution for running denyhosts under Cygwin as a Service including your wonderful cmd: cygrunsrv -I DenyHosts -p /usr/share/denyhosts/daemon-control -a start -d DenyHosts -f "DenyHosts