This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Can Cygwin sshd log to a file? (as opposed to Event Log)


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]