Cannot run SSH

baykusderki baykusderki@gmail.com
Sun Nov 22 02:24:00 GMT 2009


Hello,

In the past I have managed to install Cygwin and SSH on multiple 
computers. 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.  The 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 version. Up until that moment, the Ssh server was 
running alright.  I am not sure if anything else has been updated during 
the installation.   I tried "ssh-host-config -y", it did not resolve 
anything for me. I did fire "rm  -R etc/ssh*", deleted the service and 
the users, started over. It did not lead 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 successfully.  Just to see if it would 
work on any other win7 installation, I did install windows7(32bit 
version) on a virtual machine(virtual box) and I installed the same 
Cygwin setup. This time without much itching the Ssh server started 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  file 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:  Win32 error 1062:
The service has not been started.
"

Here is the cygcheck
"
$ cygcheck /usr/sbin/sshd
C:\cygwinx\usr\sbin\sshd.exe
   C:\cygwinx\bin\cygcrypt-0.dll
     C:\cygwinx\bin\cygwin1.dll
       C:\Windows\system32\ADVAPI32.DLL
         C:\Windows\system32\msvcrt.dll
           C:\Windows\system32\KERNELBASE.dll
             C:\Windows\system32\ntdll.dll
           C:\Windows\system32\API-MS-Win-Core-Console-L1-1-0.dll
           C:\Windows\system32\API-MS-Win-Core-DateTime-L1-1-0.dll
           C:\Windows\system32\API-MS-Win-Core-Debug-L1-1-0.dll
           C:\Windows\system32\API-MS-Win-Core-ErrorHandling-L1-1-0.dll
           C:\Windows\system32\API-MS-Win-Core-Fibers-L1-1-0.dll
           C:\Windows\system32\API-MS-Win-Core-File-L1-1-0.dll
           C:\Windows\system32\API-MS-Win-Core-Handle-L1-1-0.dll
           C:\Windows\system32\API-MS-Win-Core-Heap-L1-1-0.dll
           C:\Windows\system32\API-MS-Win-Core-Interlocked-L1-1-0.dll
           C:\Windows\system32\API-MS-Win-Core-Localization-L1-1-0.dll
           C:\Windows\system32\API-MS-Win-Core-LibraryLoader-L1-1-0.dll
           C:\Windows\system32\API-MS-Win-Core-Memory-L1-1-0.dll
           C:\Windows\system32\API-MS-Win-Core-Misc-L1-1-0.dll
           C:\Windows\system32\API-MS-Win-Core-NamedPipe-L1-1-0.dll
           C:\Windows\system32\API-MS-Win-Core-ProcessEnvironment-L1-1-0.dll
           C:\Windows\system32\API-MS-Win-Core-ProcessThreads-L1-1-0.dll
           C:\Windows\system32\API-MS-Win-Core-Profile-L1-1-0.dll
           C:\Windows\system32\API-MS-Win-Core-String-L1-1-0.dll
           C:\Windows\system32\API-MS-Win-Core-Synch-L1-1-0.dll
           C:\Windows\system32\API-MS-Win-Core-SysInfo-L1-1-0.dll
           C:\Windows\system32\API-MS-Win-Core-Util-L1-1-0.dll
         C:\Windows\system32\API-MS-WIN-Service-Core-L1-1-0.dll
         C:\Windows\system32\API-MS-WIN-Service-winsvc-L1-1-0.dll
         C:\Windows\system32\API-MS-WIN-Service-Management-L1-1-0.dll
         C:\Windows\system32\API-MS-WIN-Service-Management-L2-1-0.dll
         C:\Windows\system32\API-MS-Win-Core-LocalRegistry-L1-1-0.dll
         C:\Windows\system32\API-MS-Win-Security-Base-L1-1-0.dll
         C:\Windows\system32\KERNEL32.dll
           C:\Windows\system32\API-MS-Win-Core-RtlSupport-L1-1-0.dll
           C:\Windows\system32\API-MS-Win-Core-IO-L1-1-0.dll
           C:\Windows\system32\API-MS-Win-Core-ThreadPool-L1-1-0.dll
         C:\Windows\system32\RPCRT4.dll
           C:\Windows\system32\SspiCli.dll
             C:\Windows\system32\CRYPTBASE.dll
               C:\Windows\system32\API-MS-Win-Core-DelayLoad-L1-1-0.dll
             C:\Windows\system32\API-MS-Win-Security-LSALookup-L1-1-0.dll
   C:\cygwinx\bin\cygcrypto-0.9.8.dll
     C:\cygwinx\bin\cyggcc_s-1.dll
   C:\cygwinx\bin\cygwrap-0.dll
   C:\cygwinx\bin\cygz.dll

"

I would appreciate any lead on this issue.


thanks





--
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



More information about the Cygwin mailing list