You are correct in that "cvs server" is at the end of the command, but it's
the command executed by CVS (on the client side) that is the problem in that
it autocreates the format.  And I can't change how it looks.  CVS creates
the following command, which doesn't work:

ssh cvs.projectname.sourceforge.net -l username cvs server

About the only way to make this work is to place my public/private key on
the cvs.projectname.sourceforge.net server and hope that works.  I'm looking
into this as well.

Thanks for the help.
Sheldon Samuels

----- Original Message -----
From: "Noel L Yap" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, June 07, 2000 6:56 PM
Subject: Re: CVS access using SSH


> When using CVS_RSH, CVS will execute:
> $CVS_RSH hostname cvs server
>
> This means your command line should've been:
> ssh -v projectname.sourceforge.net -l username cvs server
>
> Try that.
>
> Also try:
> ssh -v projectname.sourceforge.net -l username
> "CVS_Hostname=cvs.projectname.sourceforge.net cvs server"
>
> Noel
>
>
>
>
> [EMAIL PROTECTED] on 2000.06.07 12:59:01
>
> To:   [EMAIL PROTECTED]
> cc:   [EMAIL PROTECTED], [EMAIL PROTECTED]
> Subject:  Re: CVS access using SSH
>
>
>
>
> Well, I now get a different set of errors, although I'm not sure if this
is from
> SSH or CVS.  Here is what I've done.
>
> 1)  I created a batch file (sshx.bat) and placed the proper SSH command
inside
> of the batch.  The SSH command is as follows:
>
> ssh -v projectname.sourceforge.net -l username
>
> 2)  I then set my CVS_RSH=sshx.bat
>
> 3)  Now when I run "CVS UPD" I get the following response:
>
> SSH Version 1.2.14 [winnt-4.0-x86], protocol version 1.4.
> Standard version.  Does not use RSAREF.
> Pseudo-terminal will not be allocated because stdin is not a terminal.
> ssh_connect: getuid 0 geteuid 0 anon 0
> Connecting to panjasource.sourceforge.net [198.186.203.44] port 22.
> Connection established.
> Remote protocol version 1.5, remote software version 1.2.27
> Waiting for server public key.
> Received server public key (768 bits) and host key (1024 bits).
> Host 'panjasource.sourceforge.net' is known and matches the host key.
> Initializing random; seed file c:\home/.ssh/random_seed
> Encryption type: idea
> Sent encrypted session key.
> Received encrypted confirmation.
> Trying RSA authentication with key 'smskeys'
> Received RSA challenge from server.
> Sending response to host key RSA challenge.
> Remote: RSA authentication accepted.
> RSA authentication accepted by server.
> Requesting shell.
> Entering interactive session.
> -bash: Root: command not found
> -bash: Valid-responses: command not found
> -bash: valid-requests: command not found
>
> As best I can tell, it did indeed login successfully without the need to
enter a
> password.  However, it locks up immediately after the 3 -bash errors.  Are
these
> coming from CVS or SSH?  Any ideas?
>
> Thanks.
> Sheldon Samuels
> Panja Software Product Manager
>
> >>> "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