X-Recipient: archive-cygwin AT delorie DOT 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:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=WzlOuhPQ+Ikx/Asy l95dk0D3Z5gpNTlDClBL+m1lZdlZm3fTafR3QZXC9kUNETeyBDKsQaSwfBoDcNrv dgktyFCQKHa+KW1pIxDYbm+iElGTefZ+W1RJC8H5BjB+eLwj6j2LuARTx8U7jGv0 KaN0NWsmKz64L2JGotAaogoRvAQ= 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:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=v94QtHgMiZ9mZXaXt7fLzR Cnxpg=; b=P6G4gdcCHdIeIUBWY6+mmjiYdETJAHuMK+rR2Poixuk4sAdPGwQSKG umFsTrMk+9/VPEAU6j7nfU7B+6lN0Zts0/En0LYb4K6MyHeEyLg1t421JqxbRaS1 /HK3ae3kJ5Fd5zYZubo3Ea09uTfksVkq97mii1tA8yTXNlWWwIUM4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED autolearn=ham version=3.3.2 X-HELO: vms173013pub.verizon.net Message-id: <523752B8.2010306@cygwin.com> Date: Mon, 16 Sep 2013 14:49:28 -0400 From: "Larry Hall (Cygwin)" Reply-to: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Fwd: Way to test cyglsa? References: <5237373E DOT 1070905 AT cygwin DOT com> <523748CD DOT 5070205 AT cygwin DOT com> In-reply-to: Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit On 9/16/2013 2:26 PM, Evan Rowley wrote: > 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' Try '-D -d'. > 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? I've set up a new service in the past to be a debug version. That way, it's always there and ready for me when I need it. I just stop the normal service and start the debug one. But that's just one way to do it. Your way should work. The output goes to the log file by default. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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