KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

SSH test: Protocol error. Can not agree hostkey

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
sneader



Joined: 22 Dec 2005
Posts: 90

PostPosted: Thu Mar 31, 2016 7:30 am    Post subject: SSH test: Protocol error. Can not agree hostkey Reply with quote

I am using HostMon version 10.10.

I turned up a new server, my first CentOS 7 server. I copied a working test from one of my CentOS 6 servers and created a Connection in Connection Manager, with the proper username and password.

When the test runs, I get a reply of "Protocol error. Can not agree hostkey". I only see one or two mentions of this problem in the support forums, and I am led to believe it is some incompatibility with ciphers. Unfortunately, the forum posts were not informative enough to help me with troubleshooting and resolving this problem.

Any help would be greatly appreciated.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Thu Mar 31, 2016 8:06 am    Post subject: Reply with quote

We plan to improve SSH test in version 10.14 or 10.16..
What ciphers and key exchange enabled on the server?

Can you enable some of the following ciphers
3des-cbc,blowfish-cbc,aes256-cbc,aes192-cbc,aes128-cbc
Key exchange: diffie-hellman-group1-sha1

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
sneader



Joined: 22 Dec 2005
Posts: 90

PostPosted: Thu Mar 31, 2016 5:21 pm    Post subject: Reply with quote

Hi Alex.

I found this article which seems to explain why I am just seeing this problem on CentOS 7:

http://www.jbytechnologies.com/linux/sshd-add-dsa-key.html

I will try the suggested fix, and then remove the fix after HostMon improves the SSH test.

- Scott
Back to top
View user's profile Send private message
sneader



Joined: 22 Dec 2005
Posts: 90

PostPosted: Thu Mar 31, 2016 6:18 pm    Post subject: Reply with quote

I can confirm that the dsa key fix in the link above solves the problem for now.

If you would be so kind as to let me know when even a beta version with the ssh fix is available, I would be more than glad to test it out!

- Scott
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index