Home > Uncategorized > A better way to do ssh tunnels

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
Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: