title: MySQL Workbench Error: Couldn't connect the SSH Tunnel
body: <p>Full Error:  <a href="https://i.stack.imgur.com/ooyQB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ooyQB.png" alt="enter image description here" /></a></p>
  <p>I am trying to establish a connection to a database instance in AWS EC2. I've spent hours looking at all the posts that exist on Stack Overflow and many other places related to this but nothing works for me.</p>
  <p>I am able to use my .pem key to establish a connection successfully through PuTTY on my Windows 10 machine. I also am able to connect and use the database in dbForge Studio and DataGrip but I get this error when I use MySQL Workbench (I am trying to transition to the free software). I think this is something related to the key. Is there anything else required to do with the key after I downloaded it from AWS? Or does MySQL Workbench require anything different than dbForge or DataGrip?</p>
  <p>Do I need to change the key format or add it to /.ssh folder or something along those lines? These are the tips I got from other answers but unfortunately, nothing worked for me. Any insights would be appreciated.</p>