From de96ee72089c6673f36b02cfdc440288cd0be206 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 18 Jan 2012 16:19:57 -0400 Subject: thought --- ...ist:_Prevent_repeated_password_prompts_for_one_command.mdwn | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/todo') diff --git a/doc/todo/wishlist:_Prevent_repeated_password_prompts_for_one_command.mdwn b/doc/todo/wishlist:_Prevent_repeated_password_prompts_for_one_command.mdwn index 6d1552fe4..808b8496f 100644 --- a/doc/todo/wishlist:_Prevent_repeated_password_prompts_for_one_command.mdwn +++ b/doc/todo/wishlist:_Prevent_repeated_password_prompts_for_one_command.mdwn @@ -6,3 +6,13 @@ Simple, when performing various git annex command over ssh, in particular a mult > > Combining multiple operations into a single ssh is on the todo list, but > very far down it. --[[Joey]] + +>> OTOH, automatically running ssh in ControlMaster mode (and stopping it +>> at exit) would be useful and not hard thing for git-annex to do. +>> +>> It'd just need to set the appropriate config options, setting +>> ControlPath to a per-remote socket location that includes git-annex's +>> pid. Then at shutdown, run `ssh -O exit` on each such socket. +>> +>> Complicated slightly by not doing this if the user has already set up +>> more broad ssh connection caching. --[[Joey]] -- cgit v1.2.3