Hello,


Well, if I was using CVS from remote and SSH was installed on the
server side, and I had a UNIX account on the server side, I would set
these environment variables :

CVS_RSH=ssh
CVSROOT=:ext:user@host:/path/to/repository

Then do "cvs command".

If I wanted to use pserver for some reason, I would first make an
SSH tunnel :

ssh -L 2401:localhost:2401 user@host

Then use this CVSROOT:

CVSROOT=:pserver:user@localhost:/path/to/repository

The SSH tunnel makes it look like port 2401 ( the CVS port ) is
open on the local host. I usually use the first method, the second
method only requires that you enter your password once to open
the tunnel, and again to do "cvs login", while the first will ask
for your password everytime you do a CVS command.



HTH,
Rob Helmer


On Sun, Apr 01, 2001 at 03:22:45PM +0200, Kai Gro?johann wrote:
> I can't access the outside directly, so I use port forwarding via
> ssh.  So if I want to access two `cvs pserver' repositories, I have to
> set up port forwarding with two different local ports, right?  I guess
> that means I need to specify the port on the remote host when doing
> 
> cvs -d :pserver:user@host:/path/to/repository command
> 
> How do I do that?
> 
> kai
> -- 
> Be indiscrete.  Do it continuously.
> 
> _______________________________________________
> Info-cvs mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/info-cvs
> 

_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to