Subject: Re: ssh and key_verify failed for server_host_key
To: None <itojun@iijlab.net, smd@ebone.net>
From: Sean Doran <smd@ebone.net>
List: current-users
Date: 05/03/2001 17:47:35
| 	server side:
| 	(1) do you have sshv2 host keys in /etc/ssh_host_{dsa,rsa}_key on
| 	the server?  (2) do you have them listed in /etc/sshd.conf?
| 	oterhwise, openssh sshd will automatically turn off v2 support.

1 yes
2 yes

| 	client side:
| 	run ssh with -v.

debug1: Remote protocol version 1.99, remote software version OpenSSH_2.5.4 NetBSD_Secure_Shell-20010410
debug1: match: OpenSSH_2.5.4 NetBSD_Secure_Shell-20010410 pat ^OpenSSH
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_2.5.4 NetBSD_Secure_Shell-20010410
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 zlib
debug1: kex: client->server aes128-cbc hmac-md5 zlib
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: dh_gen_key: priv key bits set: 130/256
debug1: bits set: 491/1024
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'XXXXXXXXXXXXX' is known and matches the DSA host key.
debug1: Found key in /u/smd/.ssh/known_hosts2:3
debug1: bits set: 549/1024
debug1: len 55 datafellows 0
debug1: ssh_dss_verify: signature incorrect
key_verify failed for server_host_key
debug1: Calling cleanup 0x805bfdc(0x0)

	Sean.