This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Fwd: Way to test cyglsa?
- From: Evan Rowley <rowley dot evan at gmail dot com>
- To: Andrey Repin <cygwin at cygwin dot com>
- Date: Mon, 16 Sep 2013 14:26:25 -0400
- Subject: Re: Fwd: Way to test cyglsa?
- Authentication-results: sourceware.org; auth=none
- References: <CAMhuX2BzMOmeLeJSUcsm8yMd4gw8THBiBG=+iorVgv1uDwveJQ at mail dot gmail dot com> <CAMhuX2BoDhcVUyv_ba4jXC+Y0fX=Fa50OOFfzK_fBBQe9N=o-A at mail dot gmail dot com> <5237373E dot 1070905 at cygwin dot com> <CAMhuX2ALMEw+2D5_urYo_MPhbjvebROs5UAY4L0Gx1a0rAagSA at mail dot gmail dot com> <523748CD dot 5070205 at cygwin dot com>
I would really like to run sshd in debug mode!
I wasn't sure what the best way to enable debug mode on sshd. The
approach I took was to edit one the registry entry I assumed cygrunsrv
uses to launch sshd.
Under
\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\sshd\Parameters
Name: AppArgs
Type: REG_SZ
Data: -D
I changed '-D' to '-Dd' but unfortunatley this rendered the service
un-start-able. I got the same result with '-D &> /var/log/sshd.log'
What in your mind is the best way to enable debug mode? Also, will the
debug output be sent to event log or to /var/log/sshd.log?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple