This commit is contained in:
Joey Hess 2012-01-18 16:19:57 -04:00
parent a2428320de
commit de96ee7208

View file

@ -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]]