Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Originating-IP: [69.143.114.19] X-Originating-Email: [rdd37it AT hotmail DOT com] X-Sender: rdd37it AT hotmail DOT com From: "RDD" To: Subject: Can Cygwin sshd log to a file? (as opposed to Event Log) Date: Wed, 3 Nov 2004 21:02:36 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-ID: X-OriginalArrivalTime: 04 Nov 2004 01:59:00.0673 (UTC) FILETIME=[DA593B10:01C4C211] X-IsSubscribed: yes Hello all -- I've modified the Logging section of cygwin\etc\cygserver.conf as follows: # kern.log.syslog: Determines whether logging should go to the syslog, # Default is "yes", if stderr is no tty, "no" otherwise. # Command line option -y, --syslog or -Y, --no-syslog. kern.log.syslog --no-syslog # kern.log.stderr: Determines whether logging should go to stderr, # Default is "yes", if stderr is a tty, "no" otherwise. # Command line option -e, --stderr or -E, --no-stderr. kern.log.stderr no I would like to get the SSH server to log events (failed logins, etc.) to a simple text file, such as sshd.log under cygwin\var\log. Is this possible? Or is this only a 'dummy' file, and Event Log in the only option for logging on Windows (Win2k in this case)? Thanks much for any assistance, Bob P.S. -- apologies if this has been covered previously -- my google and list archive searches did not reveal an answer to this specific question. -- 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/