This is the mail archive of the
mailing list for the Cygwin project.
Cannot run SSH
- From: baykusderki <baykusderki at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 21 Nov 2009 19:32:35 -0600
- Subject: Cannot run SSH
- Reply-to: baykusderki at gmail dot com
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
I would appreciate any lead on this issue.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple