diff options
-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() { |