From df5380d1fe6b1c9fe118051545eef28bb1b4b414 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 19 Dec 2012 22:50:50 +0100 Subject: [PATCH] try these options --- .../templates/static-mirroring/static-update-component.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/roles/templates/static-mirroring/static-update-component.erb b/modules/roles/templates/static-mirroring/static-update-component.erb index 97636d94f..53887add2 100755 --- a/modules/roles/templates/static-mirroring/static-update-component.erb +++ b/modules/roles/templates/static-mirroring/static-update-component.erb @@ -68,7 +68,7 @@ lines.join("\n") %> for master_idx in ${!masters[*]}; do - ssh -t -o BatchMode=yes "${masters[$master_idx]}" static-master-update-component "$component" + ssh -t -o ServerAliveInterval=300 -o PreferredAuthentications=publickey "${masters[$master_idx]}" static-master-update-component "$component" < /dev/null done fi -- 2.20.1