SSH can tunnel TCP ports for you. But what if you need to tunnel UDP as well? SSH doesn't speak UDP.
Oh. But netcat does. Also, netcat is awexome. Throw in a fifo and you'll be taking over the world in no time. Just ask Guillaume Cottenceau, he will show you how it's done, friend. :3
I had never used a fifo before; I wasn't even sure what they did. They sure seem nice! But notice the end of the article? After patting yourself on the back for making netcat and fifo's dance, you learn that socat laughs and does the job of both of them simultaneously. :)
to be strictly accurate, socat itself is capable of openssh encryption so....... if you work out another authentication method, socat could even replace the SSH client and server in this tunnel!!1!one
I, for one, welcome our new socket forwarding overlords. :D