I have a very strange problem with SSH Tunnel. I want to connect to a remote MySQL Server using an SSH Tunnel. I have created the tunnel with great success in the past, but for a strange reason it's not OK now. The Tunnel is created as: ssh email@example.com -T -N -L 6603:localhost:3306.
When I try to connect to the remote MySQL Server, the connection is performed on the local MySQL server!
So, I tried to use the ssh firstname.lastname@example.org -T -N -L 6603:remote.com:3306 which is not what all how-tos say, but what the man page do.
No success :( Everything that I have tried is not working and now I am really confused. What is wrong with that setup?