]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
try these options
authorPeter Palfrader <peter@palfrader.org>
Wed, 19 Dec 2012 21:50:50 +0000 (22:50 +0100)
committerPeter Palfrader <peter@palfrader.org>
Wed, 19 Dec 2012 21:50:50 +0000 (22:50 +0100)
modules/roles/templates/static-mirroring/static-update-component.erb

index 97636d94f3e65a591e2dfcb46b7c4ba98b44fcd5..53887add2a2614d724efa8695e6ccef953ad4f35 100755 (executable)
@@ -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