Here's the network setup:
Machine A (my PC) SSH 22 => Machine B (Linode with root access) SSH 21343 => Machine C (MySQL server).
I want to forward port 3306 from C through B to A, so I can use SQL Workbench on A to execute commands on C.
Note that C is only accessible over SSH port 21343 and only from B (we cannot change the firewall on C to open any more ports, but we can change its SSH settings).
Is this possible? I've read about tunnels and ProxyCommand. But I need a simple step-by-step example.
All machines are debian Lenny.
ssh, specifically the-Loption. – voretaq7♦ Aug 28 '11 at 16:54