info-cvs
[Top][All Lists]
Advanced

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

Re: can't login via pserver and therefore can't save ~/.cvspass file


From: Joe Kaiping
Subject: Re: can't login via pserver and therefore can't save ~/.cvspass file
Date: Sat, 24 Mar 2001 11:49:51 -0700

>
>
> > Joe Kaiping writes:
> >
> > CVSROOT=:ext:address@hidden:/usr1/cvs
> > CVS_RSH=ssh
> >
> > When I try to create a ~/.cvspass on the client with the
> following command
> > it hangs after I type in my CVS password.
> >
> > Unix prompt->cvs -d
> :pserver:address@hidden:/usr1/cvs login
> > (Logging in to address@hidden)
> > CVS password:
>
> Larry Jones writes:
>
> Well make up your mind -- are you going to connect with ssh or with
> pserver?  ~/.cvspass is only used by pserver, so it won't do you any
> good if you're connecting with ssh.  Set CVSROOT the way you
> want it and
> don't override it on the command line.  My guess is that there's a
> firewall between your client and server that isn't passing the
> cvspserver protocol.
>

Actually, I thought I would need to use both pserver and ssh.  ssh for my
personal CVS usage, and pserver for when CVS is executed only as a reader
from within a script.  (The script will be used to automatically update a
web site with files contained in CVS)

Can you tell me what is the best and/or most common way to call CVS from
within a shell script so that the user running the script isn't required to
type in a password?  Or is there a way one might be able feed CVS the
password from within the script?

Thanks again,
Joe

> Joe Kaiping writes:
> >
> > The reason I want to be able to save a ~/.cvspass file is because I want
to
> > call cvs commands from with scripts and that seemed to be the best way
to do
> > it.  If there is a better or more common way to be able to execute cvs
> > commands from within scripts could someone pass that info along, please?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]