From 02e6874fc431898130149ee46503919271fc5a3f Mon Sep 17 00:00:00 2001 From: Sven Marcus <s.marcus@outlook.de> Date: Wed, 14 Apr 2021 09:50:43 +0200 Subject: [PATCH] Add ServerAliveInterval to ssh config --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 96976eacf..ac3f70737 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -257,6 +257,7 @@ gcc_9_python_slurm_test: - apt-get install -y rsync - mkdir -p ~/.ssh - chmod 700 ~/.ssh + - echo "Host *\n ServerAliveInterval 240" >> ~/.ssh/config - eval $(ssh-agent -s) - echo "$SSH_KEY" | tr -d '\r' | ssh-add - - echo $SSH_KEY >> ansible/private_key -- GitLab