OpenSSH for Windows - sshd logs

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I just installed the OpenSSH for windows log.  This is the project that
installs CYgwin's OpenSSH server without all the Cygwin overhead /

I'm trying to make the log output from sshd go to a log file rather than
to the windows event log, which is painful to read.  I noticed that sshd
has a command line option -e that sends the log to the standard output.

My sshd installation apparently calls cygrunsrv.exe as a service, and
that kicks off sshd.  I can't find how to pass the -e parameter through
cygrunsrv to sshd.exe.  Furthermore, even if I did, I'm not sure how to
caputre the output to stdout.

What's interesting is that the service properties list the cygrunsrv.exe
executable, but not any parameters.  So I"m gessing the actual call to
sshd.exe is someplace else, or embeded in a modified version of cygrunsrv.

Anyone that can help with this?


Re: OpenSSH for Windows - sshd logs

I found my own answer.  Deep in the registry there are the settings fro
the cygrunsrv service, and amongst them are the parameters to pass to
the actual sshd.exe service.

The place to look is:


Carlos N wrote:

Quoted text here. Click to load it

Site Timeline