diff options
author | 2016-09-20 18:25:34 -0700 | |
---|---|---|
committer | 2016-09-20 18:30:18 -0700 | |
commit | 3d5ddb13b0d5919fbf0d7675a9f1f54db0c5f38c (patch) | |
tree | 27bfb52ba2f632609d07f6b34624a65818d8362f /vagrant | |
parent | b2fce9be284ef660f0010efbb98a40fbed735ae3 (diff) |
Enable SSH dead peer detection
Change-Id: I26e858e911fb9be2c03603e044459b11bab3b626
Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
Diffstat (limited to 'vagrant')
-rw-r--r-- | vagrant/lib/bootstrap-functions.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vagrant/lib/bootstrap-functions.sh b/vagrant/lib/bootstrap-functions.sh index 52aebea8b..c3e1c8584 100644 --- a/vagrant/lib/bootstrap-functions.sh +++ b/vagrant/lib/bootstrap-functions.sh @@ -2,6 +2,11 @@ do_setup() { echo "127.0.1.1 $(hostname) # temporary" >> /etc/hosts + + # Dead peer detection + echo "TCPKeepAlive true" >> /etc/ssh/ssh_config + echo "ServerAliveCountMax 30" >> /etc/ssh/ssh_config + echo "ServerAliveInterval 10" >> /etc/ssh/ssh_config } do_mvn_install() { |