I'd like to create several ssh tunnels to MySQL servers that are several hops away. I have ssh access to every server except the MySQL ones.
Here's how my setup looks like:
[desktop]=====[server]---------[mysql01]
\--------[mysql02]
\-------[mysql03]
\------[mysql04]
Currently, I can simply ssh into [server] and use mysql -h mysql01 -u something -p to establish a connection. Now, I want to create a tunnel for each of the MySQL servers so I can access them via a GUI on [desktop]. However, using ssh -L requires a user account on those MySQL servers, which I don't have.
Any ideas on how to work around this?