This is the mail archive of the
cygwin
mailing list for the Cygwin project.
CYGWIN sshd staying in 'Starting' status
- From: Sam Snitman <ssnitman at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 19 Oct 2007 10:31:47 -0700 (PDT)
- Subject: CYGWIN sshd staying in 'Starting' status
One of my company's Windows 2003 servers had CYGWIN
and I think also openssh that came in CYGWIN on it.
I'm afraid I do not know much about CYGWIN. I am
trying to get the cygwin sshd server running to
send/receive files from remote servers via sftp. When
I try to sftp to this servers own ip, by running the
command 'sftp <our server ip>', it says:
Connecting to <our server ip>
Ssh:connect to host <our server ip> PORT 22:
Connection refused Connection closed
Under Component services I noticed an entry 'CYGWIN
sshd' that was in 'Startup Type' of 'Automatic' but
did not have anything under the 'Status' column. I
tried to start this service but it has stayed in
'Starting' status for a few hours now.
D:\cygwin\var\log\sshd.log has the following:
Could not load host key: /etc/ssh_host_key Could not
load host key: /etc/ssh_host_rsa_key Could not load
host key: /etc/ssh_host_dsa_key Disabling protocol
version 1. Could not load host key Disabling protocol
version 2. Could not load host key
sshd: no hostkeys available -- exiting.
Could not load host key: /etc/ssh_host_key Could not
load host key: /etc/ssh_host_rsa_key Could not load
host key: /etc/ssh_host_dsa_key Disabling protocol
version 1. Could not load host key Disabling protocol
version 2. Could not load host key
sshd: no hostkeys available -- exiting.
Could not load host key: /etc/ssh_host_key Could not
load host key: /etc/ssh_host_rsa_key Could not load
host key: /etc/ssh_host_dsa_key Disabling protocol
version 1. Could not load host key Disabling protocol
version 2. Could not load host key
sshd: no hostkeys available -- exiting.
I have since tried to stop the service by running the
command: 'netstop sshd' and received the following:
D:\cygwin>net stop sshd
The CYGWIN sshd service is stopping...........
The CYGWIN sshd service could not be stopped.
Can anyone provide me with some ideas to troubleshoot?
Thanks very much,
Sam
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/