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 Subject: CYGWIN sshd staying in 'Starting' status To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <580775.83032.qm@web83604.mail.sp1.yahoo.com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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 ', it says: Connecting to Ssh:connect to host 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/