delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/09/13:06:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <004401c2feba$49589730$cc0aa8c0@adexainc.com>
From: "Rob Siklos" <rob2 AT siklos DOT ca>
To: <cygwin AT cygwin DOT com>
Subject: problems with ssh
Date: Wed, 9 Apr 2003 13:05:56 -0400
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Hello,

I am using the latest cygwin modules from the installer.  I have had cygwin
set up and working nicely for some time now, but today i just noticed that
sshd wasn't working anymore.

Originally, I had it set up so that sshd ran under inetd (by uncommenting
the line in inetd.conf).  When it's set up this way, I always get
"Permission Denied" after I enter my password.  I'm pretty sure the user
system is set up correctly, since I can log in using telnet without any
problems.

I tried running sshd as an independant service, however I can't get the
service to start.  I get the following in the log:

--- BEGIN /var/log/sshd.log ---
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.
--- END /var/log/sshd.log ---

I reinstalled cygwin and re-generated the host keys, but it still doesn't
work.  The files DO exist, and have the following permissions:
-rw-------    1 rsiklos  Administ      672 Apr  9 12:36 ssh_host_dsa_key
-rw-------    1 rsiklos  Administ      529 Apr  9 12:35 ssh_host_key
-rw-------    1 rsiklos  Administ      887 Apr  9 12:35 ssh_host_rsa_key

Does anyone have any ideas or advice?

Thanks in advance,

Rob.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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