cvs read behind firewall?
Robert Lipe
robertlipe@usa.net
Thu Dec 14 12:34:00 GMT 2000
Michael Meissner wrote:
> On Thu, Dec 14, 2000 at 05:49:28PM +0100, Christian Jönsson wrote:
> >
> > The machine is behind a firewall but I can ssh myself out using
> > non-privelaged
> > ports, i.e., ssh -P. Now, how do I do this with cvs?
>
> One way to do it, is have a shell script that invokes ssh with -P and set that
> as your CVS_RSH (ie, the alias won't work, because cvs is forking $CVS_RSH
> either directlry or through /bin/sh).
Instead of the script, why not just write the right bits into ~/.ssh/config?
Something like:
Host gcc.gnu.org
UsePrivilegedPort no
this way you can control it on a per-host basis.
More information about the Gcc
mailing list