---
title: "MySQL Workbench does not connect over SSH."  
description: "MySQL Workbench does not connect over SSH."  
author: "Sandra Emily"  
published: 2023-07-27  
updated: 2023-07-28  
canonical: https://www.mindstick.com/forum/159322/mysql-workbench-does-not-connect-over-ssh  
category: "mysql"  
tags: ["mysql", "database connection"]  
reading_time: 2 minutes  

---

# MySQL Workbench does not connect over SSH.

[MySQL Workbench](https://www.mindstick.com/forum/159335/mysql-error-code-1175-during-update-in-mysql-workbench) does not [connect](https://www.mindstick.com/articles/12810/how-to-connect-tablet-to-external-monitor-or-flat-screen-tv-using-computer-adapters) over SSH.

## Replies

### Reply by Aryan Kumar

Sure, there are a few reasons why [MySQL](https://www.mindstick.com/articles/12156/what-is-mysql) Workbench might not connect over SSH.

- **The SSH connection is not configured correctly.** Make sure that the SSH server is running on the remote host and that you have the correct username and password. You can also try using a different SSH port if the default port (22) is not working.
- **The MySQL server is not configured correctly.** Make sure that the MySQL server is listening on the correct port and that you have the correct username and password. You can also try restarting the MySQL server if it is not responding.
- **The MySQL Workbench settings are not correct.** Make sure that you have entered the correct hostname, username, password, and SSH port in the MySQL Workbench settings. You can also try resetting the MySQL Workbench settings to the default values.

Here are some steps you can take to troubleshoot why MySQL Workbench does not connect over SSH:

1. Check the SSH connection. Use the `ssh` command to connect to the remote host and see if you can log in. If you can't log in, then the SSH connection is not configured correctly.
2. Check the MySQL server. Use the `mysql` command to connect to the MySQL server on the remote host and see if you can log in. If you can't log in, then the MySQL server is not configured correctly.
3. Check the MySQL Workbench settings. Open MySQL Workbench and go to the **Tools** menu. Then, select **Options** and click on the **SSH** tab. Make sure that the **Hostname**, **Username**, **Password**, and **Port** fields are correct.

If you have checked all of these things and MySQL Workbench still does not connect over SSH, then you can try the following:

- Restart the MySQL server on the remote host.
- Reset the MySQL Workbench settings to the default values.
- Contact your system administrator for help.


---

Original Source: https://www.mindstick.com/forum/159322/mysql-workbench-does-not-connect-over-ssh

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
