A better way to do ssh tunnels

Until now I was using LocalForward ssh_config directive:

LocalForward 2326 cvs.savannah.nongnu.org:2401
LocalForward 2324 cvs.dev.java.net:2401

This method is really not transparant as you have to specify localhost:port to each client which is using the tunnel, instead of using the original URL. A way to wipe out this limitation is using the DynamicForward directive to create a SOCKS proxy, then use the tsocks wrapper:

tsocks svn co http://svn.apache.org/repos/asf/mina/trunk