Unix: SSH Port Forwarding
So it’s not that special and I bet 1000 people have already posted the same details. Still, it’s cool and I need a place to record my thoughts about this:
ssh host.name -L YYYY:other.host:ZZZZ
Essentially, this means logging into the first machine and creating port YYYY on the local machine as the port ZZZZ from other.host
Works well.