Bug #85041 Failed to connect through ssh tunnel
Submitted: 17 Feb 2017 9:05 Modified: 17 Feb 2017 10:00
Reporter: Jonas Stenberg Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:6.3.6 OS:Linux (Ubuntu 16.04.2 LTS)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[17 Feb 2017 9:05] Jonas Stenberg
Description:
Failed to connect through ssh tunnel. This might have started after a system update. This is what is in the log:

09:55:04 [INF][     SSH tunnel]: Existing SSH tunnel not found, opening new one
09:55:04 [INF][     SSH tunnel]: Opening SSH tunnel to 10.46.19.27
09:55:04 [ERR][sshtunnel.py:notify_exception_error:233]: Traceback (most recent call last):
  File "/usr/share/mysql-workbench/sshtunnel.py", line 298, in _connect_ssh
    look_for_keys=has_key, allow_agent=has_key)
  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

09:55:05 [INF][     SSH tunnel]: TunnelManager.wait_connection authentication error: Authentication error, unhandled exception caught in tunnel manager, please refer to logs for details
09:55:05 [ERR][     SSH tunnel]: Authentication error opening SSH tunnel: Authentication error, unhandled exception caught in tunnel manager, please refer to logs for details

How to repeat:
Create a connection that tunnels through ssh and try to connect.
[17 Feb 2017 9:07] Jonas Stenberg
Changed category. The problem is in the workbench.
[17 Feb 2017 10:00] MySQL Verification Team
Thank you for the bug report. Duplicate of https://bugs.mysql.com/bug.php?id=84717.