X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type; q=dns; s=default; b=GY
	5dyPc+96oRK11/GJOYnUQ3s6eq9aLk+ENZcrKTYBdLBR78Nrk3G/+IYNTY6eQY7n
	f8ZOA3EGjiVo//otnTaksF0tAX/szYvruAMW52pCugY0KeeE/Bt3qhOxIXb4LqBe
	1iGRh1aSTtpJWmc86xp62ixNQnrAInH1c55K42esc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type; s=default; bh=Kb32leF3
	oLlZ8YxR7UpkLsWjAt4=; b=tf502hqiqWVfMVs5TrRaMbliUS3sKlx4edxlnH5I
	3UxcQ/XbzPlYSJiZgG32rWwI4TUDEQaQbXAYb0UdP4dSPKSkdwgBrZlGVMKECpFc
	wn2fmZmwyG0RRiEIPPDWbCDEOLdBLfX6CcwPOuqsXuEpNXgOU2H7hgMEXfbkbgrQ
	kBQ=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,KHOP_THREADED,NO_RELAYS autolearn=ham version=3.3.2
X-HELO: mail-vb0-f50.google.com
MIME-Version: 1.0
X-Received: by 10.52.120.78 with SMTP id la14mr24322740vdb.9.1379355985204; Mon, 16 Sep 2013 11:26:25 -0700 (PDT)
In-Reply-To: <523748CD.5070205@cygwin.com>
References: <CAMhuX2BzMOmeLeJSUcsm8yMd4gw8THBiBG=+iorVgv1uDwveJQ@mail.gmail.com>	<CAMhuX2BoDhcVUyv_ba4jXC+Y0fX=Fa50OOFfzK_fBBQe9N=o-A@mail.gmail.com>	<5237373E.1070905@cygwin.com>	<CAMhuX2ALMEw+2D5_urYo_MPhbjvebROs5UAY4L0Gx1a0rAagSA@mail.gmail.com>	<523748CD.5070205@cygwin.com>
Date: Mon, 16 Sep 2013 14:26:25 -0400
Message-ID: <CAMhuX2CvmLJs4c4HANjCXZBARzCRrrBe3L5dpsBTDqMrhXz+7Q@mail.gmail.com>
Subject: Re: Fwd: Way to test cyglsa?
From: Evan Rowley <rowley.evan@gmail.com>
To: Andrey Repin <cygwin@cygwin.com>
Content-Type: text/plain; charset=ISO-8859-1
X-IsSubscribed: yes

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

