[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suppress password in CVS ext authentication
From: |
trf |
Subject: |
Re: Suppress password in CVS ext authentication |
Date: |
26 Jul 2006 08:22:00 -0700 |
User-agent: |
G2/0.2 |
Hi Mark,
Thank you very much for the suggestion. It didnt strike me that I coud
try a ssh-agent. I had used a ssh agent on a Windows machine some time
ago for a similar problem. The current configuration is on a Solaris
machine, I hope there are ssh agents for Solaris... I'll do a search
and find out.
Once again, thanks for the suggestion.
Regards,
~T
Mark D. Baushke wrote:
> -----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-----