Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Accessing CVS on non-standard port
Date: Thu, 25 Nov 2010 00:12:41
Message-Id: AANLkTik5vU5d4Fsrr+qNskvTaJzZp5qin+owp+cBgR7F@mail.gmail.com
In Reply to: Re: [gentoo-user] Accessing CVS on non-standard port by Alex Schuster
1 > Hmm, I don't get it. Why would this .ssh/config not work?
2 >
3 > Host gateway
4 > Hostname gateway.example.com
5 > User alan
6 > LocalForward 1111 cvs.example.com:22
7 >
8 > Host cvs
9 > Hostname localhost
10 > Port 1111
11 > User alan
12 >
13 > You log in at gateway first, and during that session you can access the
14 > CVS server with 'ssh cvs', or use CVS via CVSROOT=:ext:cvs:/var/cvs.
15 > Can't you?
16 >
17
18 You missed Alan's point - the ssh forwarding works, but cvs doesnt appear to
19 support using a non-standard destination port.
20
21 So if cvs is that lame, perhaps an ugly iptables prerouting hack is the only
22 option?

Replies

Subject Author
Re: [gentoo-user] Accessing CVS on non-standard port Alex Schuster <wonko@×××××××××.org>