Eric Y. Kow wrote:
Dear darcs/Mac users,

As you might know, darcs has been showing some strange and occasional
hanging with ssh-related stuff.  For some reason, it only seems to
affect Mac users.

One workaround it has been to use the --disable-ssh-cm switch to disable
the ControlMaster feature (and perhaps use some other mechanism instead,
like ssh-agent).

Here's one thing I would like you to try to help me figure out what's
wrong.

Say you got a server that you like to connect to for darcs, we'll call
it wonderfulmachine.com.  Try configuring ssh to use the control master
whenever it connects to that machine.  Put in a block like

Host wonderful HostName wonderfulmachine.com ControlMaster auto
  ControlPath ~/.ssh/ssh_control_%h_%p_%r

Now you should be able to do stuff like:
darcs push --disable-ssh-cm [EMAIL PROTECTED]:somerepo

You'll still get your control master convenience, only it'll be openssh
that's taking care of the details and not darcs.  If this works just as
bad, it might mean the issue is not 100% us... if it works better, even
better, because it means it might be something we can fix.

Eric,

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.

I'm assuming this means that the modification to .ssh/config isn't working the way you'd wanted it to?

Thanks for looking into this,

Keith Browne
[EMAIL PROTECTED]

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

Reply via email to