Thanks for the suggestion. Yes, I actually use that myself when I access
CVS. I was trying to avoid pageant because I had a feeling it might cause
problems with the task scheduler. (We only use this system via Win2000's
Remote Desktop Connection. Do the scheduled tasks run as a service?) Anyway,
I'm gettig desperate enough to try anything, so I investigated using pageant
a bit.
Using pageant, I can't seem to get it to log in automatically when I use
the command-line "cvs". I wrote a .cmd script that looks somewhat like this:
---------------------
c:
cd \cvsupdate
echo Adding private key into pageant's cache...
start /wait pageant private-key.txt
cd \project
set CVSROOT=:ext:user@...
echo Updating from %CVSROOT%
"c:\program files\tortoisecvs\cvs.exe" -z9 update -d
---------------------
After 'cvs.exe' runs, I get somewhat garbled output, like:
' from cvs serverng: unrecognized response `Permission denied, please try
again.
Sometimes it asks me for the password for the user account. (The same one
that I have specified in the CVSROOT) The strange thing is, when I try
running:
"C:\Program Files\TortoiseCVS\tortoiseplink" user@...
... then it logs right in.
So now I'm back at square one... =/
Regards,
Mike
----- Original Message -----
From: "Michael Imamura" <zoogie@...>
To: "Mike Pontillo" <lists@...>
Cc: <tortoisecvs-users@...>
Sent: Sunday, September 29, 2002 12:08 PM
Subject: Re: [TortoiseCVS] Nightly auto-update?
> On Sun, 2002-09-29 at 14:32, Mike Pontillo wrote:
> > I want to have it log in with a generic user account over SSH and issue
a
> > "cvs update -d". I figured out how to do this from the command line, but
the
> > problem is I can't pipe any "echo" output (the password) into cvs.exe
for
>
> Have you considered using Pageant and RSA keys for SSH authentication?
> http://www.tartarus.org/~simon/puttydoc/Chapter9.html
>
> --
> Michael Imamura zoogie@...
> LUG@... Web Guy http://www.lugatgt.org/
|