From: Markos Chandras Date: Tue, 3 Oct 2017 12:21:03 +0000 (+0100) Subject: xci: scripts: start-new-vm.sh: Do not break on idle SSH connections X-Git-Tag: 6.0.0~277 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=570d4a19670360b7428f7760b096b48f829b6d61;p=releng-xci.git xci: scripts: start-new-vm.sh: Do not break on idle SSH connections Add ServerAliveInterval and ServerAliveCountMax directives in order to try and keep SSH connections alive. This aims to solve ssh timeouts like the following one on busy hypervisors: packet_write_wait: Connection to UNKNOWN port 0: Broken pipe Change-Id: I58029b41226098d6a44181434ad8653f72384e9d Signed-off-by: Markos Chandras --- diff --git a/xci/scripts/vm/start-new-vm.sh b/xci/scripts/vm/start-new-vm.sh index 1019ce88..faadb87d 100755 --- a/xci/scripts/vm/start-new-vm.sh +++ b/xci/scripts/vm/start-new-vm.sh @@ -187,6 +187,8 @@ echo "Dropping a minimal .ssh/config file" cat > $HOME/.ssh/config<