[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to specify port with `cvs pserver'?

From: Rob Helmer
Subject: Re: How to specify port with `cvs pserver'?
Date: Mon, 2 Apr 2001 09:08:49 -0700
User-agent: Mutt/1.2.5i


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 :


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 address@hidden

Then use this CVSROOT:


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.

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:address@hidden:/path/to/repository command
> How do I do that?
> kai
> -- 
> Be indiscrete.  Do it continuously.
> _______________________________________________
> Info-cvs mailing list
> address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]