delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/03/20:59:18

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
X-Originating-IP: [69.143.114.19]
X-Originating-Email: [rdd37it AT hotmail DOT com]
X-Sender: rdd37it AT hotmail DOT com
From: "RDD" <rdd37it AT hotmail DOT com>
To: <cygwin AT cygwin DOT com>
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
Message-ID: <BAY15-DAV13R4ZDgC8100007bcd@hotmail.com>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019