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 [EMAIL PROTECTED]
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