info-cvs
[Top][All Lists]
Advanced

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

Re: Suppress password in CVS ext authentication


From: Mark D. Baushke
Subject: Re: Suppress password in CVS ext authentication
Date: Tue, 25 Jul 2006 23:29:55 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

trf <address@hidden> writes:

> Hi all,
> 
> Is there a way to suppress the password prompt when I do an update
> using CVS? I am using the "ext" protocol in CVSROOT.

If you are using CVS_RSH=ssh with your :ext: method (this seems likely,
although other clients do exist), then you may wish to look at using
ssh-agent to manage the credentials for you.

Use your favorite search enginge with the terms cvs ext ssh-agent
and you should find one or more examples of how to do things.

> The reason why I need this is that I have an automated build process
> (using CruiseControl) which uses ant to do CVS updates. And currently
> CVS updates are not possible because I always get a password prompt
> while running ant. And since this is an automated process I cannot
> provide the password while it is running. I tried using the <cvspass>
> ant task and it is correctly adding the password to the ".cvspass"
> file, but it seems as if the password file is not being read for the
> password.

Correct, .cvspass is only read with the :pserver: method.

        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)

iD8DBQFExwvjCg7APGsDnFERAmvMAJ0Z1pH21Ohf2CsmeH/I7hDageUfDACeP4nm
W+PPF9B2YqqoRXDcOaXR/ME=
=Ap6F
-----END PGP SIGNATURE-----




reply via email to

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