1

I'm trying to use Putty to create a tunnel that MySQL Workbench can connect through.

Steps I take:

  1. In putty, create a connection to Jumpbox
  2. In SSH:Auth add my pem file and allow agent forwarding
  3. Add the pem file to pageant
  4. In SSH:Tunnels add the Source port 3307, add the destination as the Database server address in the cluster (that the Jumpbox forwards to)
  5. Connect to the Jumpbox - this is successful

Then in MySQLWorkbench, try and connect to the database at localHost:3307

This fails.

Can anyone enlighten me on how to create a SSH connection via a JumpBox using Putty or find where the problem might be?

  • Even I have the same query. Do you know the answer? – rupsray Oct 3 '18 at 12:27
  • answer below check that – beek Oct 3 '18 at 20:06
0

This worked

ssh  -i KEY -L 3006:10.104.100.15:3306 -N ubuntu@jump-box

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.