diff --git a/avocado/utils/ssh.py b/avocado/utils/ssh.py index 2d1aa541f21d47d852489a821f0136781d52eba0..ab37a86cd05b488361994cac99621b84d0f8ba54 100644 --- a/avocado/utils/ssh.py +++ b/avocado/utils/ssh.py @@ -8,7 +8,8 @@ class Session(object): """ DEFAULT_OPTIONS = (('StrictHostKeyChecking', 'no'), - ('UpdateHostKeys', 'no')) + ('UpdateHostKeys', 'no'), + ('ControlPath', '~/.ssh/avocado-master-%r@%h:%p')) MASTER_OPTIONS = (('ControlMaster', 'yes'), ('ControlPersist', 'yes'))