cvs behind a firewall through an http proxy

April 21, 2008

if you work in a company with a too restrictive firewall, but you still need to access a cvs repository like sourceforge, you can bypass it using the program connect.c.

from here:

connect.c is the simple relaying command to make network connection via SOCKS and https proxy. It is mainly intended to be used as proxy command of OpenSSH.

just download it and compile it (for windows users there is a precompiled connect.exe). then, if you want to use the SOCKS server “socks.local.net” to access the internet, add these two lines to your .ssh/config:

Host remote.outside.net
ProxyCommand connect -S socks.local.net %h %p

in my case, I use an http proxy to access the internet, instead of the SOCSK, and I do not
want to use connect.exe for internal repositories. hence, my .ssh/config file is:

Host empy.cvs.sourceforge.net
ProxyCommand connect -H proxy.company.net:80 %h %p

enjoy!

Advertisements

One Response to “cvs behind a firewall through an http proxy”


  1. […] cvs + socks using connect.c (similar to my post on svn over an ssh tunnel) […]


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: