19 March 2011

cvsup through proxy doesn’t work? When ssh forward facility come in handy

Let’s say you have two machines, one with internet, and one without.
On the machine with internet, you have a proxy and a ssh account.
Unfortunately csup nor cvsup cannot work through a proxy, so here
where ssh forward facility will come in handy. Let’s say your csup is
configured to update from cvsup4.*BSD.org. SSH is a magic tool,
it can listen a local port, and forward everything through it’s protocol
to another machine and there connect to some remote host:

ssh -L 5999:cvsup4.*BSD.org:5999 user@machine_with_internet

And we’re done ! %)


Now just run csup with -h 127.0.0.1


[*] SRC


biOos

No comments: