SSH Host Key Verification Error in dbForge Studio for MySQL

SSH Host Key Verification Error in dbForge Studio for MySQL

Attempting to connect to a server over SSH may fail with the following error message:
Can't connect to SSH server: The computed hash verification does not correspond to the received. (code 0)

The same connection may work successfully in PuTTY or other SSH clients.

This issue is commonly observed after the SSH server has been updated or its host key has changed.

Cause

dbForge Studio for MySQL stores SSH host keys in the local known_hosts file. If the host key presented by the server no longer matches the cached entry, the SSH connection is rejected to prevent potential security risks.

Resolution
  1. Create a backup copy of the following file: %SystemDrive%\Users\%UserName%\.ssh\known_hosts
  2. Open the known_hosts file in a text editor.
  3. Locate and remove the entries corresponding to the SSH host you are trying to connect to.
  4. Connect to the server again using an SSH client. After a successful connection, a new entry containing the current host key is automatically added to the known_hosts file.
  5. Try connecting to the server from dbForge Studio for MySQL again.

Info
Additional Information

If the issue persists after updating the known_hosts file, verify that the server host key has not changed unexpectedly and that the connection is being established to the correct SSH server.