SSH test failing: Protocol error: can not agree hostkey

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
datwood
Posts: 12
Joined: Tue May 02, 2006 9:48 am
Location: Dallas, TX

SSH test failing: Protocol error: can not agree hostkey

Post by datwood »

I have many SSH tests running against Solaris servers, but I'm trying to get one working against a HP-UX server. The HP-UX server supports 3des.

But it is failing with above error.

You were able to help me with similiar error before, hope you can help here as well.

Here is output from kssshcmd commands using debug options:

Code: Select all

kssshcmd -host:hibiscus -user:xx -password:xx -cmd:"ls" -hmacdebug
Protocol error. Can not agree hostkey

Code: Select all

kssshcmd -host:hibiscus -user:xx -password:xx -cmd:"ls" -debug
[5/14/2010 4:34:04 PM] Communication started.
[5/14/2010 4:34:04 PM] Server Version: SSH-2.0-6.0.8.52 SSH Tectia Server
[5/14/2010 4:34:04 PM] Protocol Version: 2
[5/14/2010 4:34:04 PM] Packet received: 20
[5/14/2010 4:34:04 PM] Send Packet: 1
[5/14/2010 4:34:04 PM] Communication finished.
Protocol error. Can not agree hostkey

Thanks,
DAtwood
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Looks like server does not support ssh-dss format for host key (public key). This format is required by SSH protocol.
Another host key format (ssh-rsa) is optional, its not supported by HostMonitor. Probably your server uses this fomat only? ssh-dss should be enabled as well...

Regards
Alex
Post Reply