X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: From: Kyle Stanek To: Subject: =?iso-8859-1?Q?Re:_Can't_?= =?iso-8859-1?Q?get_SSHD_s?= =?iso-8859-1?Q?tarted_aft?= =?iso-8859-1?Q?er_success?= =?iso-8859-1?Q?fully_runn?= =?iso-8859-1?Q?in_g_sshd-?= =?iso-8859-1?Q?host-confi?= =?iso-8859-1?Q?g=E2?= Date: Tue, 22 Sep 2009 09:34:43 -0400 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 Huang Bambo wrote: Try run /usr/sbin/sshd and tell me the output. /usr/sbin/sshd outputs nothing and returns immediately 2009/9/22 Kyle Stanek=20 > > > Hello, > > I'm having trouble getting the sshd service running under > cygwin. ?I am running Cygwin on Windows XP SP3. ?I have successfully > run ssh-host-config, however I get errors when I try and start the > service using cygrunsrv or net: > > > [fido ~]$ cygrunsrv --start sshd > cygrunsrv: Error starting a service: QueryServiceStatus: ?Win32 error 106= 2: > The service has not been started. > [fido ~]$ > [fido ~]$ net start sshd > The CYGWIN sshd service is starting. > > The CYGWIN sshd service could not be started. > > The service did not report an error. > > More help is available by typing NET HELPMSG 3534. > > [fido ~]$ > > Also, the sshd log is empty: > [fido ~]$ cat /var/log/sshd.log > > [fido ~]$ > > Another > piece of information that may be helpful is that I can't even get the > sshd executable to output any debug information, as it simply returns > silently. ?i.e. > > [fido ~]$ /usr/sbin/sshd -d -d -d -D > > [fido ~]$ /usr/sbin/sshd -d > [fido ~]$ > > Here is my best attempt at an accounting of the settings that I have used: > 1. ?I installed cygwin packages for all users, Unix / binary file types > 2. ?I have installed the following Cygwin packages: > > cygrunsrv 1.34-1 > openssh 5.1p1-8 > 3. > When running ssh-host-config, I accepted all defaults and chose to run > sshd under a separate account with limited permissions. > > Please let me know if you need any more information. ?I would appreciate = any help that could be provided. > > > Thanks, > Kyle > > _________________________________________________________________ > Hotmail: Powerful Free email with security by Microsoft. > http://clk.atdmt.com/GBL/go/171222986/direct/01/ > > -- > 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 > -- 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 _________________________________________________________________ Bing brings you health info from trusted sources. http://www.bing.com/search?q=3Dpet+allergy&form=3DMHEINA&publ=3DWLHMTAG&cre= a=3DTXT_MHEINA_Health_Health_PetAllergy_1x1 -- 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