www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/09/13:11:23

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: <039201c2feba$ea178fa0$8801090a@uk.circle.com>
From: "Vince Hoffman" <vince DOT hoffman AT uk DOT circle DOT com>
To: "Rob Siklos" <rob2 AT siklos DOT ca>, <cygwin AT cygwin DOT com>
References: <004401c2feba$49589730$cc0aa8c0 AT adexainc DOT com>
Subject: Re: problems with ssh
Date: Wed, 9 Apr 2003 18:10:26 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300

hmm which user is the service running as ? if it is running as SYSTEM (the
default) then "chmod system /etc/ssh*" and see if that helps.
----- Original Message -----
From: "Rob Siklos" <rob2 AT siklos DOT ca>
To: <cygwin AT cygwin DOT com>
Sent: Wednesday, April 09, 2003 6:05 PM
Subject: problems with ssh


> 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/
>


--
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