> Hmm, I don't get it. Why would this .ssh/config not work?
>
> Host gateway
>        Hostname     gateway.example.com
>        User         alan
>        LocalForward 1111 cvs.example.com:22
>
> Host cvs
>        Hostname     localhost
>        Port         1111
>        User         alan
>
> You log in at gateway first, and during that session you can access the
> CVS server with 'ssh cvs', or use CVS via CVSROOT=:ext:cvs:/var/cvs.
> Can't you?
>

You missed Alan's point - the ssh forwarding works, but cvs doesnt appear to
support using a non-standard destination port.

So if cvs is that lame, perhaps an ugly iptables prerouting hack is the only
option?

Reply via email to