delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/21/22:29:59

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4B0894B3.1020300@gmail.com>
References: <4B0894B3 DOT 1020300 AT gmail DOT com>
Date: Sun, 22 Nov 2009 11:29:00 +0800
Message-ID: <f4d6f44b0911211929r35d1f1e1y9bbdf80c03f95f9e@mail.gmail.com>
Subject: Re: Cannot run SSH
From: Huang Bambo <bambo DOT huang AT gmail DOT com>
To: baykusderki AT gmail DOT com, 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

run /usr/sbin/sshd directly and check if it can start.

2009/11/22 baykusderki <baykusderki AT gmail DOT com>:
> Hello,
>
> In the past I have managed to install Cygwin and SSH on multiple computer=
s.
> All of them are running fine and serving SSH just fine. So I am not that =
new
> to installing this stuff.
>
> At the moment I am trying to run SSH on my Windows7 64. I know it is not
> tested and maybe not supposed to work at the moment. I actually installed
> and ran SSH successfully on this machine couple days ago when I have first
> installed Windows7. Yesterday it has stopped working so without any given
> reason. =A0The only thing I can remember that might affect things is
> downloading the latest whatever version of cygwin setup.exe that was on
> Cygwin site yesterday. I did install couple apps like xemacs, command line
> task-todo app and I think I have upgraded the Openssh to the latest versi=
on.
> Up until that moment, the Ssh server was running alright. =A0I am not sur=
e if
> anything else has been updated during the installation. =A0 I tried
> "ssh-host-config -y", it did not resolve anything for me. I did fire "rm =
=A0-R
> etc/ssh*", deleted the service and the users, started over. It did not le=
ad
> to any success. I have actually deleted my "cygwin" folder since it was a
> new installation I just did not care about it, just to start fresh. After
> the fresh install I fired "ssh-host-config -y" in the commandline. It
> installed everything without a glitch but Ssh was not running successfull=
y.
> =A0Just to see if it would work on any other win7 installation, I did ins=
tall
> windows7(32bit version) on a virtual machine(virtual box) and I installed
> the same Cygwin setup. This time without much itching the Ssh server star=
ted
> and worked well. So I am really not sure about what to make of this
> situation.
>
> I have Windows Defender disabled and I do not run any virus-firewall
> application at the moment.
>
> The sshd.log =A0file under /var/log/ is empty(0 kb)
>
>
> Here are some error messages
>
> "$ 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.
> "
> $ cygrunsrv.exe -S sshd
> cygrunsrv: Error starting a service: QueryServiceStatus: =A0Win32 error 1=
062:
> The service has not been started.
> "
>
> Here is the cygcheck
> "
> $ cygcheck /usr/sbin/sshd
> C:\cygwinx\usr\sbin\sshd.exe
> =A0C:\cygwinx\bin\cygcrypt-0.dll
> =A0 =A0C:\cygwinx\bin\cygwin1.dll
> =A0 =A0 =A0C:\Windows\system32\ADVAPI32.DLL
> =A0 =A0 =A0 =A0C:\Windows\system32\msvcrt.dll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\KERNELBASE.dll
> =A0 =A0 =A0 =A0 =A0 =A0C:\Windows\system32\ntdll.dll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-Console-L1-1-0.dll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-DateTime-L1-1-0.dll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-Debug-L1-1-0.dll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-ErrorHandling-L1-1=
-0.dll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-Fibers-L1-1-0.dll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-File-L1-1-0.dll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-Handle-L1-1-0.dll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-Heap-L1-1-0.dll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-Interlocked-L1-1-0=
.dll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-Localization-L1-1-=
0.dll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-LibraryLoader-L1-1=
-0.dll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-Memory-L1-1-0.dll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-Misc-L1-1-0.dll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-NamedPipe-L1-1-0.d=
ll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-ProcessEnvironment=
-L1-1-0.dll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-ProcessThreads-L1-=
1-0.dll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-Profile-L1-1-0.dll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-String-L1-1-0.dll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-Synch-L1-1-0.dll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-SysInfo-L1-1-0.dll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-Util-L1-1-0.dll
> =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-WIN-Service-Core-L1-1-0.dll
> =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-WIN-Service-winsvc-L1-1-0.dll
> =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-WIN-Service-Management-L1-1-0.d=
ll
> =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-WIN-Service-Management-L2-1-0.d=
ll
> =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-LocalRegistry-L1-1-0.d=
ll
> =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Security-Base-L1-1-0.dll
> =A0 =A0 =A0 =A0C:\Windows\system32\KERNEL32.dll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-RtlSupport-L1-1-0.=
dll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-IO-L1-1-0.dll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-ThreadPool-L1-1-0.=
dll
> =A0 =A0 =A0 =A0C:\Windows\system32\RPCRT4.dll
> =A0 =A0 =A0 =A0 =A0C:\Windows\system32\SspiCli.dll
> =A0 =A0 =A0 =A0 =A0 =A0C:\Windows\system32\CRYPTBASE.dll
> =A0 =A0 =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Core-DelayLoad-=
L1-1-0.dll
> =A0 =A0 =A0 =A0 =A0 =A0C:\Windows\system32\API-MS-Win-Security-LSALookup-=
L1-1-0.dll
> =A0C:\cygwinx\bin\cygcrypto-0.9.8.dll
> =A0 =A0C:\cygwinx\bin\cyggcc_s-1.dll
> =A0C:\cygwinx\bin\cygwrap-0.dll
> =A0C:\cygwinx\bin\cygz.dll
>
> "
>
> I would appreciate any lead on this issue.
>
>
> thanks
>
>
>
>
>
> --
> 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