delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/08/12:50:18

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3A098DFB.ABA115D2@redhat.com>
Date: Wed, 08 Nov 2000 18:31:39 +0100
From: Corinna Vinschen <vinschen AT redhat DOT com>
Reply-To: cygwin <cygwin AT sources DOT redhat DOT com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.14-SMP i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: cygwin <cygwin AT sources DOT redhat DOT com>
Subject: Re: Updated: OpenSSH-2.3.0p1
References: <LNBBKMIKMNGEJNEJICPHKEJJEIAA DOT stanton AT haas DOT berkeley DOT edu>

Richard Stanton wrote:
> 
> Could you maybe elaborate on exactly what steps needs to be taken to upgrade
> to the new SSHD? I just updated, and now when I try to connect to my machine
> using SSH (which worked fine until 10 minutes ago) here's what happens:
> 
> [c:\]ssh -v mortgage
> SSH Version OpenSSH_2.3.0p1, protocol versions 1.5/2.0.
> Compiled with SSL (0x0090581f).
> debug: Reading configuration data /etc/ssh_config
> debug: Applying options for *
> debug: Seeding random number generator
> debug: ssh_connect: getuid 1001 geteuid 1001 anon 0
> debug: Connecting to mortgage [128.32.75.82] port 22.
> debug: Seeding random number generator
> debug: Allocated local port 633.
> debug: Connection established.
> debug: ssh_exchange_identification: sshd: no hostkeys available -- exiting.
> 
> ssh_exchange_identification: Connection closed by remote host
> debug: Calling cleanup 0x414cf0(0x0)

Why not asking sshd by starting from the command line with `-d' option?
This might give you a hint.

> I'm hoping I'm not the only one in this position, but I can't work out how
> to translate the message below into actual steps I need to take to get SSHD
> working again...

chmod 600 /etc/ssh_host_key /etc/ssh_host_dsa_key

If you're starting sshd from your own account, change the ownership
of /etc/ssh_host_key and /etc/ssh_host_key to your account, if
you're starting from LocalSystem account change the owner to `system'.

If you need to start different sshd from different user accounts,
you can do this in one of two ways:

- Either change the owner to UID 0. Change /etc/passwd so that you
  give for example `administrator' or `system' the Cygwin uid 0.
  Then call `setfacl' to add read permission to all users which
  start the various sshds.

- Or duplicate the host key files under different names which are
  given in the corresponding sshd_config files on the `HostKey' line.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                        mailto:cygwin AT sources DOT redhat DOT com
Red Hat, Inc.
mailto:vinschen AT redhat DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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