A more general solution (that wouldn't break anyone's setup) would be to
introduce another variable.  If this variable's set, use it, otherwise, use
CVS_Hostname (or however it's capitalized).

Noel




[EMAIL PROTECTED] on 06/07/2000 03:31:37 PM

To:   [EMAIL PROTECTED]
cc:   [EMAIL PROTECTED]
Subject:  Re: CVS access using SSH




I decided to get into the CVS code myself and look around as to what could be
happening.  Here is what I have found.  I'm not certain how to fix this or if it
can be fixed, but could someone tell me if I'm on track or way off base.

In looking at the file client.c, it seems that CVS is using CVS_RSH,
CVS_Hostname, and CVS_username to create the SSH command that is then executed
automatically, assuming that CVS_RSH is equal to SSH.  However, in order to make
CVS work properly, you must set CVS_hostname equal to
cvs.projectname.sourceforge.net.  SSH requires that cvs_hostname must be simply
projectname.sourceforge.net.

It would seem to be a simple process to remove the "cvs." from the hostname
prior to executing the SSH command.  If this isn't correct for all users, maybe
add a switch or option flag to CVS to indicate whether this should be done or
not.

I'll check with Sourceforge as well.

Thanks in advance.

>>> "Noel L Yap" <[EMAIL PROTECTED]> 06/07/00 07:47AM >>>
It's worth a shot.

Noel




[EMAIL PROTECTED] on 06/06/2000 10:28:34 PM

To:   [EMAIL PROTECTED]
cc:   [EMAIL PROTECTED] (bcc: Noel L Yap)
Subject:  Re: CVS access using SSH




OK.  I can understand that.  But what is a solution to this.  It still
appears to me that CVS is passing over the wrong SSH parameters.  If CVS
would simply fire off the correct SSH command, then it would solve my
problem.  Can I create a batch file (sshx.bat) and set CVS_RSH to sshx.bat
and execute something else that way?

----- Original Message -----
From: "Charles M. Hannum" <[EMAIL PROTECTED]>
To: "Sheldon Samuels" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, June 06, 2000 6:10 PM
Subject: Re: CVS access using SSH


>
> > C:\src>cvs -t co -c
> > CVS.EXE checkout: notice: main loop with
CVSROOT=:ext:[EMAIL PROTECTED]:/cvsroot/panjasourc
e
> > > Starting server: ssh panjasource.sourceforge.net -l sheldon_samuels
cvs serverCannot access /cvsroot/panjasource/CVSROOT
> > No such file or directory
> ...
> > C:\src>cvs -t co -c
> > CVS.EXE checkout: notice: main loop with
CVSROOT=:ext:[EMAIL PROTECTED]:/cvsroot/panjas
ource
> >  -> Starting server: ssh cvs.panjasource.sourceforge.net -l
sheldon_samuels cvs server
> > Password:
>
> I have only this to say:
>
> lop-nor$ host cvs.panjasource.sourceforge.net
> cvs.panjasource.sourceforge.net is a nickname for slayer.sourceforge.net
> slayer.sourceforge.net has address 198.186.203.37
> slayer.sourceforge.net has address 198.186.203.37
> lop-nor$ host panjasource.sourceforge.net
> panjasource.sourceforge.net has address 198.186.203.44
> lop-nor$
>
> THEY'RE NOT THE SAME MACHINE.
>






This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan & Co. Incorporated, its
subsidiaries and affiliates.







This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan & Co. Incorporated, its
subsidiaries and affiliates.

Reply via email to