簡體   English   中英

MySql Workbench無法打開SSH隧道

[英]MySql Workbench cannot open SSH tunnel

上周我一直在成功使用MySql Workbench,但是今天早晨,它系統地無法打開SSH隧道。

我檢查了日志,發現以下內容:

16:46:47 [INF][     SSH tunnel]: Existing SSH tunnel not found, opening new one
16:46:54 [INF][     SSH tunnel]: Opening SSH tunnel to 192.168.200.254
16:46:55 [ERR][sshtunnel.py:notify_exception_error:235]: Traceback (most recent call last):
  File "/usr/share/mysql-workbench/sshtunnel.py", line 303, in _connect_ssh
    look_for_keys=has_key, allow_agent=has_key, timeout=SSH_CONNECTION_TIMEOUT)
  File "/usr/lib/python2.7/dist-packages/paramiko/client.py", line 325, in connect
    t.start_client()
  File "/usr/lib/python2.7/dist-packages/paramiko/transport.py", line 492, in start_client
    raise e
ValueError: CTR mode needs counter parameter, not IV

16:46:55 [INF][     SSH tunnel]: TunnelManager.wait_connection authentication error: Authentication error, unhandled exception caught in tunnel manager, please refer to logs for details
16:46:55 [ERR][     SSH tunnel]: Authentication error opening SSH tunnel: Authentication error, unhandled exception caught in tunnel manager, please refer to logs for details
16:47:00 [INF][     SSH tunnel]: Existing SSH tunnel not found, opening new one

但是,當我嘗試從終端連接時,SSH連接可以正常工作。 任何想法如何解決這個問題?

發現:

似乎版本6.3.9可能存在錯誤。 我使用以下命令重新安裝了MySql Workbench(我在Ubuntu上):

# The following will remove mysql too
sudo apt-get remove --purge mysql*

sudo apt-get autoremove
sudo apt-get autoclean

sudo apt-get update

# Then reboot your PC

# Re-install MySql Workbench from the Ubuntu software application

我昨天有同樣的問題。 我的解決方案是刪除Workbench及其依賴項,然后重新安裝。 我使用Ubuntu 16.04和Workbench 6.3.6。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM