aboutsummaryrefslogtreecommitdiff
path: root/lib/ssh.exp
diff options
context:
space:
mode:
authorRob Savoye <rob@welcomehome.org>2014-08-26 20:53:48 -0600
committerRob Savoye <rob@welcomehome.org>2014-08-26 20:53:48 -0600
commit04a9a01f6d5238ef1c84d01124e3fa293c7e1b87 (patch)
tree260d089786d0d8731616e701a4e97d33f87aa0c5 /lib/ssh.exp
parent99b895371c07fae2ad61c4f81d3123b3ec26ae96 (diff)
set ControlPersist to yes
Diffstat (limited to 'lib/ssh.exp')
-rw-r--r--lib/ssh.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh.exp b/lib/ssh.exp
index dfe4e46..ee7a5b5 100644
--- a/lib/ssh.exp
+++ b/lib/ssh.exp
@@ -76,7 +76,7 @@ proc ssh_download {desthost srcfile destfile} {
set hostname $desthost
}
- append ssh_useropts " -o ControlPersist=6h -o ControlMaster=auto -o ControlPath=\"~/.ssh/master-%r@%h:%p\""
+ append ssh_useropts " -o ControlPersist=yes -o ControlMaster=auto -o ControlPath=\"~/.ssh/master-%r@%h:%p\""
# rm has no output, which causes problems with ssh using ControlMaster
set status [catch "exec $SSH $ssh_port $ssh_useropts $ssh_user$hostname rm -f $destfile |& ''" output]