hi bert,

On Saturday 17 November 2001 11:07, plug bert wrote:
>      Anyone with CVS experience on the list? i've been
> trying (in vain) to set up a cvs server and accessing
> it using rsh/ssh. The command i run on the client is:
>
> cvs -d :ext:[EMAIL PROTECTED]/home/cvsroot
>    checkout modulename

i don't do it all in one gulp like that.  instead i do:

export CVSROOT=":ext:[EMAIL PROTECTED]:/my/cvsroot"
export CVS_RSH=ssh

i prefer to do it that way since i can put those export
statements in aliases or shell scripts to be called at
will depending on which server or repository i want to 
connect to.  and i *really* avoid the -d stuff because
the CVSROOT string gets tiresome very quickly.  better
to let the computer remember it than to have to type
it all the time.

if you want to do it in one gulp, then you can do something 
like:

cvs -d $CVSROOT checkout modulename

but that's redundant.  if CVSROOT is in your environment,
it will use that, no need for -d blah:bla:blah.  hehe, i just
did that redundancy because i didn't want that command line
to wrap like yours did.

also, i notice that in your command line, after the .com,
there seems to be a colon missing.  maybe that's
the problem?  although, on testing on my side, it
seems not to be.  i get a different error message:

if i do:
cvs -d :ext:[EMAIL PROTECTED]/my/cvs co module
 [details changed, of course]

i get:

cvs checkout: missing hostname in CVSROOT: 
:ext:[EMAIL PROTECTED]/my/cvs
cvs [checkout aborted]: Bad CVSROOT.

which is not the same error you get.

have you set up the certificates and ssh-agent so
you can ssh to the remote machine without having to type
a password?  is CVS_RSH set correctly?

>Common sense dictates that somehow cvs/rsh/ssh is
> misinterpreting the cvs server parameter as a command
> to be executed....but i've checked the syntax out
> again and again -- this is the syntax specified on the
> docus.
>
>      Sny help would be greatly appreciated.
>
>      btw, has anyone tried cvs with ssl? cvsweb?

i haven't.  ssh is good enough for me.

tiger

-- 
Gerald Timothy Quimpo                     [EMAIL PROTECTED]  [EMAIL PROTECTED]
           Entia non sunt multiplicanda praetere necessitatem
                         Mene sakhet ur seveh
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to