[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS access through a firewall
From: |
Eric Siegerman |
Subject: |
Re: CVS access through a firewall |
Date: |
Fri, 24 Nov 2000 15:09:50 -0500 |
User-agent: |
Mutt/1.2.5i |
On Fri, Nov 24, 2000 at 11:55:15AM -0800, Stephen Rasku wrote:
> Eric Siegerman wrote:
>
> >
> >On Fri, Nov 24, 2000 at 10:21:08AM -0800, Stephen Rasku wrote:
> >> Is it possible to configure the CVS client to talk to a
> >> different port than the default ssh port (e.g. possibly through
> >> a CVSROOT variable.)?
> >
> >It's SSH that needs to be configured. In /etc/ssh_config (or
> >whatever it's called on your system), put a "Port" directive in
> >the entry for the CVS server.
> >
>
> But how do I configure the client to talk on that port? Can I use
> CVSROOT or CVS_RSH (or something else?) to specify what port to use?
That's what my suggestion *is* doing. (Unless I'm very confused.
I admit I've never tried this with CVS, and what ssh hacking I
did was a while ago, so I'm refreshing my rusty memory from the
docs.)
Note I said "ssh_config" not "ssh*d*_config". /etc/ssh_config,
like ~/.ssh/config, contains configuration for the ssh client.
You use it to specify, for each server you connect to, any
options specific to that connection. So you don't do anything
special to CVS, just give it a server host name as usual (in
CVSROOT, global -d option, .../CVS/Root, or whatever). But,
assuming your server is called foo.bar.com, you put something
like this in /etc/ssh_config:
Host foo.bar.com
Port 9999
[any other options you need]
--
| | /\
|-_|/ > Eric Siegerman, Toronto, Ont. address@hidden
| | /
Nobody ever got fired for buying Microsoft -- but they could get
fired for relying on Microsoft.
- Chris Garrigues