delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/19/13:32:22

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-YMail-OSG: 1EXxdloVM1n01ISLGkdBTd8Qvg46l40zN6Yy6T8F5Ie21spLS7ag_1No8U9fg8.2Il3Cidf0Vg--
Date: Fri, 19 Oct 2007 10:31:47 -0700 (PDT)
From: Sam Snitman <ssnitman AT yahoo DOT com>
Subject: CYGWIN sshd staying in 'Starting' status
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Message-ID: <580775.83032.qm@web83604.mail.sp1.yahoo.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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/

- Raw text -


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