darcs

Issue 384 wish: use an existing SSH ControlMaster if available

Title wish: use an existing SSH ControlMaster if available
Priority wishlist Status wont-fix
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, gn, kowey, markstos, thorkilnaur, tommy
Assigned To
Topics SSH

Created on 2007-01-09.21:45:08 by gn, last changed 2009-10-23.23:53:41 by admin.

Messages
msg1391 (view) Author: gn Date: 2007-01-09.21:45:06
Hello,

I'm using the following ssh configuration:

  ControlMaster auto
  ControlPath ~/.ssh/%r@%h:%p

Unfortunately, it seems that darcs doesn't care if there's already an
existing ControlMaster that it could use: it always creates a new one in
/tmp/darcs-ssh, which will require me typing the password.  I can work
around this by using --disable-ssh-cm, but darcs really should be smart
enough to figure this out by itself.

Currently, darcs runs ssh -O invalid_command to test wether ssh supports
the control feature at all.  Maybe it can instead run 'ssh -O check
<host>' to check wether there is a suitable master process running.

Best regards,
Georg
-- 
Who says nothing is impossible?  I've been doing nothing for years.
msg1394 (view) Author: kowey Date: 2007-01-09.22:33:51
On Tue, Jan 09, 2007 at 21:45:08 +0000, Georg Neis wrote:
> Unfortunately, it seems that darcs doesn't care if there's already an
> existing ControlMaster that it could use: it always creates a new one in
> /tmp/darcs-ssh, which will require me typing the password.  I can work
> around this by using --disable-ssh-cm, but darcs really should be smart
> enough to figure this out by itself.

> Currently, darcs runs ssh -O invalid_command to test wether ssh supports
> the control feature at all.  Maybe it can instead run 'ssh -O check
> <host>' to check wether there is a suitable master process running.

This is worth looking into.
msg3342 (view) Author: markstos Date: 2008-02-12.00:03:31
As seen in this other issue reports, there are now good alternatives to SSH
controlmaster:

http://bugs.darcs.net/issue437

I suppose this "wish" can remain open if someone wants to improve the
controlmaster feature anyway.
msg8545 (view) Author: kowey Date: 2009-08-27.16:51:56
I think we should just consider this obsoleted by the new darcs transfer-mode
(patches welcome!, otherwise)
History
Date User Action Args
2007-01-09 21:45:08gncreate
2007-01-09 22:33:59koweysetstatus: unread -> unknown
nosy: droundy, tommy, beschmi, kowey, gn
messages: + msg1394
2007-03-10 15:25:52koweysettopic: + SSH
nosy: droundy, tommy, beschmi, kowey, gn
2007-03-10 15:26:16koweysetnosy: droundy, tommy, beschmi, kowey, gn
title: Darcs should use an existing SSH ControlMaster if available -> use an existing SSH ControlMaster if available
2008-02-09 18:07:27markstossetstatus: unknown -> deferred
nosy: droundy, tommy, beschmi, kowey, gn
title: use an existing SSH ControlMaster if available -> wish: use an existing SSH ControlMaster if available
2008-02-12 00:03:32markstossetnosy: + markstos
messages: + msg3342
2009-08-06 17:39:01adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, thorkilnaur, - droundy, gn
2009-08-06 20:35:49adminsetnosy: - beschmi
2009-08-10 22:00:36adminsetnosy: + gn, - darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 17:52:41adminsetnosy: + darcs-devel, - simon
2009-08-27 13:55:01adminsetnosy: tommy, kowey, markstos, darcs-devel, gn, thorkilnaur, dmitry.kurochkin
2009-08-27 16:51:58koweysetstatus: deferred -> wont-fix
nosy: tommy, kowey, markstos, darcs-devel, gn, thorkilnaur, dmitry.kurochkin
messages: + msg8545
2009-10-23 22:35:38adminsetnosy: + ggn, - gn
2009-10-23 23:53:41adminsetnosy: + gn, - ggn