Adrenalin’s Experience

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

Posted in freebsd by Adrenalin on February 14, 2008

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.FreeBSD.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.FreeBSD.org:5999 user@machine_with_internet

And we’re done ! %)

Now just run csup with -h 127.0.0.1

Tada !

Advertisement
Tagged with: , , , , ,

3 Responses

Subscribe to comments with RSS.

  1. dimitry said, on February 21, 2008 at 8:57 am

    thank you! exactly what i was looking for

  2. Michael Leighty said, on April 28, 2008 at 10:15 pm

    Thanks a lot for this post. It’s going to save me the trouble of setting up a cvs mirror. 🙂

  3. Ivan Kukalo said, on May 11, 2009 at 1:12 pm

    Thank you very much!!!!!!!!


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 )

Facebook photo

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

Connecting to %s

%d bloggers like this: