change ControlPersist from 125 to 10 seconds

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2017-02-16 22:43:27 +01:00
parent 9d9fc98556
commit d5b1246791

View file

@ -36,7 +36,7 @@ def inspect_ssh_mux_opts():
wanted_mux_opts = { wanted_mux_opts = {
"ControlPath": "{}", "ControlPath": "{}",
"ControlMaster": "auto", "ControlMaster": "auto",
"ControlPersist": "125", "ControlPersist": "10",
} }
mux_opts = " ".join([" -o {}={}".format( mux_opts = " ".join([" -o {}={}".format(
x, wanted_mux_opts[x]) for x in wanted_mux_opts]) x, wanted_mux_opts[x]) for x in wanted_mux_opts])