delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org> |
Subject: | Re: HowTo setup cygwin + sshd using hosts.allow and hosts.deny and use detailed logging |
Date: | Sat, 26 Jan 2008 21:33:13 -0600 |
Lines: | 33 |
Message-ID: | <fngu1o$mdg$1@ger.gmane.org> |
References: | <000001c86076$3d07fc00$ac399905 AT a3500> |
Mime-Version: | 1.0 |
User-Agent: | Thunderbird 2.0.0.9 (Windows/20071031) |
In-Reply-To: | <000001c86076$3d07fc00$ac399905@a3500> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Martin wrote: > After googeling a while i=B4m 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 installing the sshd by this command: > cygrunsrv -I sshd -d "CYGWIN sshd" -p /usr/sbin/sshd -a '-D -e' >=20 > I=B4m not really happy of the log output cause I only see the hostname , = IP > and the used username, but no timestamp. You went the wrong way in your configuration, or at least the hard way. Usually you don't need '-e', you just configure syslog. Really easy,=20 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. [snip] > Can some post a decent and small HowTo? Install the service following /usr/share/doc/Cygwin/openssh.README;=20 install syslog or syslog-ng, and configure it to use the file you want=20 and (in syslog-ng case) the format you want. --=20 Ren=E9 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |