www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/21/21:16:28

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_00,SARE_HEAD_8BIT_SPAM,SARE_MSGID_LONG40,SARE_SUB_ENC_UTF8,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <BLU102-W27A69BA4AE82F4D357B66CA3DC0@phx.gbl>
References: <BLU102-W27A69BA4AE82F4D357B66CA3DC0 AT phx DOT gbl>
Date: Tue, 22 Sep 2009 09:16:13 +0800
Message-ID: <f4d6f44b0909211816y2fa98361x64ea0881cdb14a75@mail.gmail.com>
Subject: =?UTF-8?Q?Re=3A_Can=27t_get_SSHD_started_after_successfully_runnin?= =?UTF-8?Q?g_sshd=2Dhost=2Dconfig=E2=80=8F?=
From: Huang Bambo <bambo DOT huang AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Try run /usr/sbin/sshd  and tell me the output.

2009/9/22 Kyle Stanek <kstanek54 AT hotmail DOT com>
>
>
> Hello,
>
> I'm having trouble getting the sshd service running under
> cygwin. =A0I am running Cygwin on Windows XP SP3. =A0I 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: =A0Win32 error 1=
062:
> 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. =A0i.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. =A0I installed cygwin packages for all users, Unix / binary file types
> 2. =A0I 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. =A0I would appreciat=
e 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: =A0 =A0 =A0 http://cygwin.com/problems.html
> FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/
> Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html
> Unsubscribe info: =A0 =A0 =A0http://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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019