X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Message-ID: <4B592CF0.1050704@cygwin.com> Date: Thu, 21 Jan 2010 23:43:28 -0500 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Problems starting sshd as a service on cygwin 1.7.1 References: <234360 DOT 35947 DOT qm AT web111406 DOT mail DOT gq1 DOT yahoo DOT com> In-Reply-To: <234360.35947.qm@web111406.mail.gq1.yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 On 01/21/2010 11:15 PM, Myron Flickner wrote: > On one of my upgraded 1.7.1 system sshd quit running as a service and would not restart. I tried a few things > but never could make it work so I decided to reinstall. > > I uninstalled cygwin per the FAQ and a posting on removing sshd > > http://www.cygwin.com/faq/faq-nochunks.html#faq.setup.uninstall-all > http://chinese-watercolor.com/LRP/printsrv/remove-cygwin.html :-( We typically frown on using external sources of Cygwin information and then asking here about problems that could be caused by using information from these sites. In this case, I don't see anything misleading at the site you reference but obviously we can't say that for all time or in general. > I reinstalled cygwin choosing defaults options. Then I added openssh to this install. > Ran ssh-host-config answered all the questions yes and set CYGWIN to "tty ntsec". These aren't necessary, though they aren't harming anything. > After this "cygrunsrv -S sshd" fails. most of the time - although I've seen it work a few times. > An example session is below. > > Any suggestions on a work around or how to trace this ? Have you looked at the logs? Clearly the setup is OK if it starts sometimes. Something is getting in the way. The logs might give you a clue. Or it could be . If you need to follow-up with this list on this issue, please provide the cygcheck output as requested by . -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ 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