Hi,

I have a problem regarding the setup of 
ssh tunneling for cvs ("Again!", might some people shout...).

I have to use this solution since our developers are using 
a commercial solution with a cvs interface. Unfortunately this
interface supports only :server: and :pserver: methods,
and the rsh client is an internal reimplementation, so there is
no point in tampering with /*RSH*/ environment vars.

A guy called Tim TimeWaster, referenced on CVSHome.org, 
has this SCVS perl script which tunnels localhost:cvspserver
to cvshost:cvspserver. This method is not appropriate since only
one user may be using the cleint port, then.

Anyway, Derek R. Price proposed a solution that appealed
by simplicity:

>    #!/bin/sh
>    ssh -L30100:localhost:cvspserver remotehost.net
>    CVSPORT=30100 cvs -d:pserver:$USER@localhost:/cvsroot "$@"

I was searching for this CVSPORT variable desperately, yet 
unsuccessful. 
Does it exist (in cvs >=1.10.8), or is there another way to 
specify the client side port number to connect to?

Thanks, a lot.

Eric.

Reply via email to