Check controlpersist (#17443)

* Add a new config option to cache the check for controlpersist on the
control machine.

Fixes #15844

* Remove the option and make the behavior the default

* Make the check for controlpersist cache its status per-ssh executable
This commit is contained in:
Toshio Kuratomi 2016-09-12 08:27:39 -07:00 committed by GitHub
commit 6117e1946e
4 changed files with 59 additions and 8 deletions

View file

@ -21,6 +21,7 @@ __metaclass__ = type
import fnmatch
import os
import subprocess
import sys
import re
import itertools