Problem with ssh-keyscan: no hostkey alg

Patrick Maigron Patrick.Maigron at int-evry.fr
Wed Feb 13 22:58:30 EST 2002


On Wed, Feb 13, 2002 at 12:25:34AM +0100, Markus Friedl wrote:
> On Tue, Feb 12, 2002 at 06:37:11PM +0100, Patrick Maigron wrote:
> > When this is the case for 2 hosts, this message appears twice AND
> > SSH-KEYSCAN STOPS QUERYING, which means that no keys at all are
> > returned for the following hosts.
> 
> does this happen with a recent snapshot, too?

Sorry, I forget the version numbers...

The client is OpenSSH_3.0.2p1, SSH protocols 1.5/2.0, OpenSSL
0x0090600f
SunOS orion 5.5.1 Generic_103640-24 sun4u sparc SUNW,Ultra-5_10

The servers are SSH Version OpenSSH_2.3.0p1, protocol versions 1.5/2.0.
Compiled with SSL (0x0090600f).
Linux A20401 2.2.18 #1 Wed Jan 24 12:28:55 GMT 2001 i686 unknown
Configured with RSA1 and DSA keys, no RSA keys.

Only the 2 first hosts in the command are queried:

orion> ssh-keyscan -t rsa A20401 A20403 A20404
# A20401 SSH-1.99-OpenSSH_2.3.0p1
no hostkey alg
# A20403 SSH-1.99-OpenSSH_2.3.0p1
no hostkey alg
orion>

I don't have permissions on the Linux servers, but I configured an
OpenSSH_3.0.2p1 server on my Solaris host with no RSA keys, and I
queried myself. The result is the same:

orion> ssh-keyscan -t rsa orion orion orion
# orion SSH-1.99-OpenSSH_3.0.2p1
no hostkey alg
# orion SSH-1.99-OpenSSH_3.0.2p1
no hostkey alg
orion>

I avoided the problem by querying rsa1 rsa and dsa separately, but it
is annoying not to be able to use "-t rsa1,rsa,dsa"...

Patrick.



More information about the openssh-unix-dev mailing list