Skip to contentSkip to conversation

cr-publish-flight-logs: use ssh -o batchmode=yes

PATCH In review Ian Jackson 2 participants 2 messages Apr 17, 2014 – Apr 22, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cr-publish-flight-logs: use ssh -o batchmode=yes

This avoids a problem (seen twice now) where NAT causes this to hang and block everything.

Other invocations of rsync (eg in TestSupport) are all inside the command-running machinery which imposes its own timeout.

---
 cr-publish-flight-logs |    1 +
 1 file changed, 1 insertion(+)
cr-publish-flight-logs +1 -0
index d299329..f971522 100755
@@ -50,6 +50,7 @@ if ($push_harness) {
 sub copydir ($$) {
     my ($src,$dst) = @_;
     my @cmd= qw(rsync --compress --compress-level=9 --stats --delete -auH);
+    push @cmd, '-e', 'ssh -o batchmode=yes';
     #--bwlimit=50
     push @cmd, $src, $dst;
     print "+ @cmd\n";
Signature · 1 line
1.7.10.4