From owner-ssh@clinet.fi  Thu May 31 15:04:15 2001
Received: from smtp1.clinet.fi (smtp1.clinet.fi [194.100.2.57])
	by hutcs.cs.hut.fi (8.9.3/8.9.3) with ESMTP id PAA09758
	for <ssh-archiver@cs.hut.fi>; Thu, 31 May 2001 15:04:15 +0300 (EET DST)
Received: from mail.clinet.fi (mail.clinet.fi [194.100.0.7])
	by smtp1.clinet.fi (Postfix) with ESMTP
	id 172C721232; Thu, 31 May 2001 15:04:15 +0300 (EEST)
Received: (from majordom@localhost)
	by mail.clinet.fi (8.9.3/8.9.3) id OAA22727
	for ssh-outgoing; Thu, 31 May 2001 14:43:34 +0300
Received: from serv01.aet.tu-cottbus.de (serv01.aet.TU-Cottbus.De [141.43.132.161])
	by mail.clinet.fi (8.9.3/8.9.3) with ESMTP id OAA22720
	for <ssh@clinet.fi>; Thu, 31 May 2001 14:43:33 +0300
Received: from ws01.aet.tu-cottbus.de (ws01.aet.TU-Cottbus.De [141.43.132.151])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(Client CN "ws01.aet.tu-cottbus.de", Issuer CN "AET internal CA" (verified OK))
	by serv01.aet.tu-cottbus.de (Postfix) with ESMTP id DD69F2179
	for <ssh@clinet.fi>; Thu, 31 May 2001 13:43:27 +0200 (METDST)
Received: by ws01.aet.tu-cottbus.de (Postfix, from userid 11019)
	id 44F6C2E25; Thu, 31 May 2001 13:43:23 +0200 (METDST)
Date: Thu, 31 May 2001 13:43:22 +0200
From: Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
To: ssh@clinet.fi
Subject: Re: Where are error messages explained?
Message-ID: <20010531134322.A14281@ws01.aet.tu-cottbus.de>
Mail-Followup-To: ssh@clinet.fi
References: <200105311011.MAA94160@ibm-1.MPA-Garching.MPG.DE>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <200105311011.MAA94160@ibm-1.MPA-Garching.MPG.DE>; from beb@mpa-garching.mpg.de on Thu, May 31, 2001 at 12:11:01PM +0200
Organization: BTU Cottbus, Allgemeine Elektrotechnik
Sender: owner-ssh@clinet.fi
Precedence: bulk

On Thu, May 31, 2001 at 12:11:01PM +0200, Bernt Christandl wrote:
> That is working fine with the world and between our unix-machines.
> 
> Then when i try to connect from a PC (NT/ssh-2.4.0-pl2) to a sun
> i see on the sun-console this error:
> 
>    May 31 11:09:46 SUN sshd[11674]: fatal: no hostkey alg

Hmm. Never seen this (I have 2.9p1 on my Unix-hosts and 2.4.0-pl2 for the
Windows clients). Just a shoot into the dark:
The client and server cannot agree on a server key with an algorithm
supported by both parties. Since SSH-2.4.0 only supports Protocol 2
and (to my knowledge) only supports DSA keys, I would assume that
you don't have a DSA key for protocol 2.
With respect to other Unix-clients working: maybe they use protocol 1
and you have a RSA1 key for it. Maybe you have a working RSA (protocol 2)
key, but this is not supported by SSH-2.4.0.

My entries in /etc/ssh/sshd_config look like
HostKey /etc/ssh/ssh_host_key
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
(The first is RSA1 for protocol 1, the latter are RSA and DSA for protocol 2.)

Best regards,
	Lutz
-- 
Lutz Jaenicke                             Lutz.Jaenicke@aet.TU-Cottbus.DE
BTU Cottbus               http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153
