Bug #75051 Error when testing connection
Submitted: 30 Nov 2014 20:05 Modified: 1 Dec 2014 10:51
Reporter: Antoine JOUVE Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S5 (Performance)
Version:6.2.4 OS:MacOS (unknown)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[30 Nov 2014 20:05] Antoine JOUVE
Description:
I'm trying to connect to my vagrant using Standard TCP/IP Over ssh, (I have the same problem on a real server)

When I try to add test the connection I have this error

19:53:14 [INF][     SSH tunnel]: Existing SSH tunnel not found, opening new one
19:53:14 [INF][     SSH tunnel]: Opening SSH tunnel to 33.33.33.15
19:53:14 [ERR][sshtunnel.py:notify_exception_error:233]: Traceback (most recent call last):
  File "/Applications/MySQLWorkbench.app/Contents/Resources/sshtunnel.py", line 257, in _connect_ssh
    self._client.load_host_keys(os.path.expanduser(ssh_known_hosts_file))
  File "/Applications/MySQLWorkbench.app/Contents/Resources/libraries/paramiko/client.py", line 176, in load_host_keys
    self._host_keys.load(filename)
  File "/Applications/MySQLWorkbench.app/Contents/Resources/libraries/paramiko/hostkeys.py", line 155, in load
    e = HostKeyEntry.from_line(line)
  File "/Applications/MySQLWorkbench.app/Contents/Resources/libraries/paramiko/hostkeys.py", line 67, in from_line
    key = RSAKey(data=base64.decodestring(key))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/base64.py", line 321, in decodestring
    return binascii.a2b_base64(s)
Error: Incorrect padding

19:53:14 [INF][     SSH tunnel]: TunnelManager.wait_connection returned OK
19:53:14 [INF][sshtunnel.py:set_keepalive:471]: SSH KeepAlive setting skipped.
19:53:14 [INF][     SSH tunnel]: SSH tunnel connect executed OK
 

How to repeat:
1. create a Standard TCP/IP Over ssh
2. With ssh password or key file, I have the same result
3. Test Connection
[30 Nov 2014 22:58] Antoine JOUVE
http://stackoverflow.com/questions/27214603/connection-mysql-workbench-vagrant
[1 Dec 2014 10:51] MySQL Verification Team
Duplicate of http://bugs.mysql.com/bug.php?id=74658. Thanks.