Send ServerAlive messages from ssh clients 40/40240/1
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Mon, 13 Jun 2016 14:26:56 +0000 (07:26 -0700)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Mon, 13 Jun 2016 14:26:56 +0000 (07:26 -0700)
To hopefully fix our git timeouts from gerrit let's make sure that the
clients are sending ServerAlive requests.

Change-Id: Ib02de317d541bc815bfe8d3eb43019eb94a91b15
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
jenkins-scripts/basic_settings.sh

index 07b7e5141945794e71c1ad06877c24917f262d8f..25aa8a4ec6f8c687af21adf3cce4dd7c33f09355 100755 (executable)
@@ -7,6 +7,8 @@ jenkins         hard    nofile          16000
 EOF
 
 cat <<EOSSH >> /etc/ssh/ssh_config
+Host *
+  ServerAliveInterval 60
 
 # we don't want to do SSH host key checking on Rackspace spin-up systems
 # Dallas (ODL)