title: Can't make remote connection from MySQL Workbench
body: <p>I'm trying to connect from Windows 10 to Ubunutu 14.04. I'm using ssh.
  The connection appears to get as far as logging on to the machine, but it doesn't connect to the database. I know I'm using the correct password. 
  The error message is: </p>
  
  <pre><code>Failed to connect to MYSQL at localhost:3306 through SSH tunnel at username@xx.xx.xx.xx with user xxxx 
  Unable to establish SSL connection 
  </code></pre>
  
  <p>The Log shows: </p>
  
  <pre><code>12:27:02 [INF][ SSH tunnel]: Existing SSH tunnel not found, opening new one 
  12:27:06 [INF][ SSH tunnel]: Opening SSH tunnel to xx.xx.xx.xx:22 
  12:27:08 [INF][ SSH tunnel]: TunnelManager.wait_connection returned OK 
  12:27:08 [INF][sshtunnel.py:set_keepalive:502]: SSH KeepAlive setting skipped. 
  12:27:08 [INF][ SSH tunnel]: SSH tunnel connect executed OK
  </code></pre>
  
  <p>The user I'm connecting to was created like this: </p>
  
  <pre><code>mysql&gt; create database fred 
  mysql&gt; CREATE USER 'fred'@'localhost' IDENTIFIED BY 'xxxx'; 
  mysql&gt; CREATE USER 'fred'@'%' IDENTIFIED BY 'xxx'; 
  mysql&gt; grant all privileges on fred.* to 'fred'@'x'; 
  mysql&gt; grant all privileges on fred.* to 'fred@'%' 
  </code></pre>
  
  <p>I can connect from a remote ubuntu machine like this; </p>
  
  <pre><code>mysql --user=fred --host=xx.xx.xx.xx --port=3306 -p
  </code></pre>
  
  <p>There's no mention of the connection in /var/log/mysql</p>
  
  <p>/var/log/auth shows</p>
  
  <pre><code>Dec  7 14:03:46 www.example.com sshd[14474]: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key
  Dec  7 14:03:47 www.example.com sshd[14474]: Accepted publickey for root from xx.xx.xx.xx port 53591 ssh2: RSA ...
  Dec  7 14:03:47 www.example.com sshd[14474]: pam_unix(sshd:session): session opened for user root by (uid=0)
  </code></pre>
  
  <p>The ssh connection is to root, but I've tried it with a non-root user and it made no difference.</p>
  
  <p>These are the details from the connection tab:</p>
  
  <pre><code>SSH Hostname: xx.xx.xx.xx
  SSH Username root
  SSH KeyFile: [dir]\.ssh\id_rsa
  MySQL Hostname:localhost
  MySQL Server Port: 3306
  username: xxxx
  </code></pre>