Fwd: Way to test cyglsa?

Evan Rowley rowley.evan@gmail.com
Mon Sep 16 18:46:00 GMT 2013


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



More information about the Cygwin mailing list