lorenzo bolla’s blog

April 21, 2008

cvs behind a firewall through an http proxy

Filed under: links, programming — Tags: , , , — lbolla @ 1:45 pm

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!

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.