From d5b12467910afaf90146ed8f9f31ddf5f5029fb1 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Thu, 16 Feb 2017 22:43:27 +0100 Subject: [PATCH] change ControlPersist from 125 to 10 seconds Signed-off-by: Steven Armstrong --- cdist/util/remoteutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdist/util/remoteutil.py b/cdist/util/remoteutil.py index c18d6705..2bd12fdf 100644 --- a/cdist/util/remoteutil.py +++ b/cdist/util/remoteutil.py @@ -36,7 +36,7 @@ def inspect_ssh_mux_opts(): wanted_mux_opts = { "ControlPath": "{}", "ControlMaster": "auto", - "ControlPersist": "125", + "ControlPersist": "10", } mux_opts = " ".join([" -o {}={}".format( x, wanted_mux_opts[x]) for x in wanted_mux_opts])