aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/shell_utils.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/shell_utils.rb b/lib/shell_utils.rb
index 22bf05b..9689f4e 100644
--- a/lib/shell_utils.rb
+++ b/lib/shell_utils.rb
@@ -44,6 +44,7 @@ module ShellUtils
'ssh',
# Use a automatically trust on first use model
'-o', 'StrictHostKeyChecking=no',
+ '-o', 'ServerAliveInterval=20',
'-i', identity_file.path,
run_remotely_on_host.user_at_address,
*environment_variables_to_shell_arguments(environment_variables),