2017-02-20 278 views
1

我上周成功地使用了MySql Workbench,但今天早上它系统地无法打开SSH隧道。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工作台具有以下(我是在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 

回答

2

昨天我有同样的问题。我的解决方案是删除Workbench及其依赖项并重新安装。我使用Ubuntu 16.04和Workbench 6.3.6。

+0

这正是我所做的。问题发生时我在6.3.9。现在,重新安装后,我在6.3.6上,它工作正常。 – JVerstry