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

Re: CVS_RSH for :ext: CVS access



On Fri, Jun 13, 2003 at 10:10:58AM -0400, Mike Mueller wrote:
> On Friday 13 June 2003 04:42, Colin Watson wrote:
> > On Thu, Jun 12, 2003 at 11:46:49PM -0700, Vineet Kumar wrote:
> > > * Mike M (linux-support@earthlink.net) [030612 21:48]:
> > > > On the Debian system, when I query evironments vars, I do not set
> > > > CVS_RSH set.  Why do the Debian systems allow the :ext: access
> > > > method to work without having the CVS_RSH var set?
> > >
> > > The default is to use rsh.  If you've installed ssh, but not
> > > rsh-client, then /usr/bin/rsh is a symlink to ssh.  (Well, indirectly,
> > > anyway, through the alternatives system).
> >
> > ... for now, anyway. There's a bug report asking for this to be removed
> > since ssh no longer implements the rsh fallback that it used to
> > implement; I'm inclined to agree, so it may disappear soon.
> 
> Where and how is the defaulting done? CVS compile option?  Config
> file?  Ask the package maintainer?  

CVS_RSH, as the name suggests, defaults to rsh. This is a compile-time
option in the cvs package, but Debian just leaves this at the upstream
default of rsh. At the moment the ssh package installs an rsh symlink
pointing to ssh; as I've just explained, this may change and you should
explicitly set CVS_RSH=ssh if that's what you want.

See the "Connecting with rsh" node in 'info cvs' for more information on
CVS_RSH.

> I don't want to change CVS on Debian.  I want to understand why I
> don't have to set CVS_RSH on Debian.

Vineet explained this above. The rsh -> ssh symlink is a "feature" of
the Debian ssh package, and one which I'd advise you not to rely on.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: