Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2001 20:51:03 +0200
From:      Marc Fonvieille <fonvi@easynet.fr>
To:        Dan Langille <dan@langille.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: remote cvs access
Message-ID:  <20010628205103.A8441@vobiscum.styx.org>
In-Reply-To: <200106281803.f5SI3q849045@lists.unixathome.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Dan,

I used to connect to an anoncvs server from my laptop through my
gateway. it ran fine.
Here's what i used:

From the laptop:
% ssh -2 -N -f -L 2401:anoncvs.FreeBSD.org:2401 gateway
% su -m
# export CVSROOT=:pserver:anoncvs@localhost:/home/ncvs
# cd /usr
# cvs login
(Logging in to anoncvs@localhost)
CVS password:				<-- as pwd type anoncvs

and then

# cvs co -rRELENG_4 src


The difference from your case and mine (without talking about my
gateway) is on the ssh command line:

ssh -L 2401:localhost:2401 cvsup.example.org

seems weird for me.

From ssh manpage:

-L port:host:hostport
	Specifies that the given port on the local (client) host is to
	be forwarded to the given host and port on the remote side.

here you forward 2401 on your localhost to 2401 on your localhost... so
maybe the issue is there.

I hope i could help you a little.

Marc

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010628205103.A8441>