>
>
> > Joe Kaiping writes:
> >
> > CVSROOT=:ext:[EMAIL PROTECTED]:/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:[EMAIL PROTECTED]:/usr1/cvs login
> > (Logging in to [EMAIL PROTECTED])
> > 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?



_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to