Eric Y. Kow wrote:
On Sun, Dec 17, 2006 at 15:50:41 -0500, Keith Browne wrote:
I usually use ssh-agent to take care of caching my SSH credentials when using darcs. I tried setting up my ~/.ssh/config file as you suggest, without setting up ssh-agent. I was prompted for my passphrase five times before I interrupted a "darcs pull" operation from a remote machine. This was on an intel Mac running OS X 10.4.8, with OpenSSH 4.5p1.

Hmm... thanks for that.  That was certainly not what I was expecting.
I was thinking either it would work, or just sort of hang like before...

Eric,

I've got so many featurelets floating around, I lost track. When I ran the test earlier, I still had a ~/.darcs/config file containing "pull disable-ssh-cm". I was using a darcs binary I thought still had the bug where the config file was ignored, but I must have been mistaken.

I just re-ran the test without the config file, and I was able to perform a "darcs pull" from a remote machine over SSH, entering my pass phrase only once. When I pull into a local repo which is up-to-date, everything runs to completion, but when I pull into a local repo which is empty, the pull operation freezes early on. Here's the relevant ps output:

tuxedo 29273 0.0 -0.1 41524 2476 p6 S+ 7:20PM 0:00.01 darcs pull [EMAIL PROTECTED]:SR2-rewrite tuxedo 29276 0.0 -0.0 29016 540 ?? Ss 7:20PM 0:00.01 ssh [EMAIL PROTECTED] -S /Users/tuxedo/.darcs/tmp//darcs-ssh/[EMAIL PROTECTED] -N -f -M tuxedo 29285 0.0 -0.0 30212 700 p6 S+ 7:20PM 0:00.00 scp -q -o ControlPath=/Users/tuxedo/.darcs/tmp//darcs-ssh/[EMAIL PROTECTED] [EMAIL PROTECTED]:SR2-rewrite/_darcs/inventory /private/tmp/test/darcsCyrkjt tuxedo 29286 0.0 -0.1 30404 1064 p6 S+ 7:20PM 0:00.01 /opt/local/bin/ssh -x -oForwardAgent no -oPermitLocalCommand no -oClearAllForwardings yes -q -o ControlPath=/Users/tuxedo/.darcs/tmp//darcs-ssh/[EMAIL PROTECTED] -ldarcs boba scp -f SR2-rewrite/_darcs/inventory

which is the behaviour I saw when I wasn't using --disable-ssh-cm.

Keith Browne
[EMAIL PROTECTED]



_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel

Reply via email to