Suddenly Can't connect to SSH server Says Server does not support diffie-hellman-group-exchange-sha256 for keyexchange
Posted: Tue 23 May 2017 21:02
dotConnect for MySQL says: "Can't connect to SSH server on 'xxxx.com': Server does not support diffie-hellman-group-exchange-sha256 for keyexchange"
Yet, I can connect to the SSH server using other software which do not depend on dotConnect for MySQL. For example, Putty, MySQL Workbench, and Navicat all work fine connecting with the SSH server and MySql databases.
update 5/24/2017 -
sudo grep Kex /etc/ssh/sshd_config
KexAlgorithms diffie-hellman-group-exchange-sha256
This is definitely enabled.
I get the same error using Toad for MySQL, Red Gate's MySQL Compare and MySQL Data Compare . . . All of which use dotConnect for MySQL.
end update 5/24/2017
Suddenly, can't connect to SSH server using Red Gate's MySQL Compare and MySQL Data Compare which were working well for several days. According to Brian Donahe at Red Gate the connection is managed by Devart's dotConnect for MySQL DevArt.Data.Mysql
Suddenly I now get the below error message which I suspect is itself potentially misleading. I'm hoping someone may have seen this behavior before and suggest what I might do to solve.
Background:
I had previously been successfully using both MySQL Compare and MySQL Data Compare via their SSH user interface accessing databases residing on 2 separate domains/machines.
Now neither program can connect to SSH server on either of the machines and produce the error.
Clicking on Compare Now button produces . . .
MySQL Compare - Aborting Can't connect to SSH server on 'xxxx.com': Server does not support diffie-hellman-group-exchange-sha256 for keyexchange
Additionally, MySQL Data Compare produces the below popup message . . .
Connection Population Error Unknown exception: Can't connect to SSH server on 'xxxx.com': Server does not support diffie-hellman-group-exchange-sha256 for keyexchange
Clicking on the Database button to populate the drop-down list produces . . .
Error fetching database list Error connecting to database Can't connect to SSH server on 'xxxx.com': Server does not support diffie-hellman-group-exchange-sha256 for keyexchange
I'm hoping someone may have seen this behavior before and suggest what I might do to solve.
Yet, I can connect to the SSH server using other software which do not depend on dotConnect for MySQL. For example, Putty, MySQL Workbench, and Navicat all work fine connecting with the SSH server and MySql databases.
update 5/24/2017 -
sudo grep Kex /etc/ssh/sshd_config
KexAlgorithms diffie-hellman-group-exchange-sha256
This is definitely enabled.
I get the same error using Toad for MySQL, Red Gate's MySQL Compare and MySQL Data Compare . . . All of which use dotConnect for MySQL.
end update 5/24/2017
Suddenly, can't connect to SSH server using Red Gate's MySQL Compare and MySQL Data Compare which were working well for several days. According to Brian Donahe at Red Gate the connection is managed by Devart's dotConnect for MySQL DevArt.Data.Mysql
Suddenly I now get the below error message which I suspect is itself potentially misleading. I'm hoping someone may have seen this behavior before and suggest what I might do to solve.
Background:
I had previously been successfully using both MySQL Compare and MySQL Data Compare via their SSH user interface accessing databases residing on 2 separate domains/machines.
Now neither program can connect to SSH server on either of the machines and produce the error.
Clicking on Compare Now button produces . . .
MySQL Compare - Aborting Can't connect to SSH server on 'xxxx.com': Server does not support diffie-hellman-group-exchange-sha256 for keyexchange
Additionally, MySQL Data Compare produces the below popup message . . .
Connection Population Error Unknown exception: Can't connect to SSH server on 'xxxx.com': Server does not support diffie-hellman-group-exchange-sha256 for keyexchange
Clicking on the Database button to populate the drop-down list produces . . .
Error fetching database list Error connecting to database Can't connect to SSH server on 'xxxx.com': Server does not support diffie-hellman-group-exchange-sha256 for keyexchange
I'm hoping someone may have seen this behavior before and suggest what I might do to solve.