SSH tunnel question

alfiqmiq's profile image alfiqmiq posted 5 years ago in Creating a connection Permalink

Connection scheme:

LOCALHOST ---> SERVER SSH (IP_A) ---> SERVER MySQL (IP_B)

with plink i do:

PLINK.EXE -i mykey.ppk -C myuser@IP_A -L 127.0.0.1:9306:IP_B:3306

How do the same only with HeidiSQL session manager?

ansgar's profile image ansgar posted 5 years ago Permalink
  • In the "Settings" tab:
    • Host: IP_B
  • In the "SSH tunnel" tab:
    • plink.exe path
    • SSH host: IP_A
    • SSH port (22 by default)
    • private key: mykey.ppk
    • local port: 9306

Should work, otherwise report back.

alfiqmiq's profile image alfiqmiq posted 4 years ago Permalink

Ok it works - thanks

Please login to leave a reply, or register at first.