copr-be: better ssh client configuration

- don't wait too long for SSH connection timeout (set it to 60s), we
  we will be restarting the build by backend when the last 4 attempts to
  contact builder failed more quickly than each 2 minutes.
- make the keep alive interval much smaller than the connection timeout
  is
This commit is contained in:
Pavel Raiskup 2020-06-04 21:15:42 +02:00
parent dd952da38b
commit bb5bbf2704

View file

@ -2,4 +2,6 @@ Host *
IdentityFile ~/.ssh/id_rsa
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
ServerAliveInterval 60
ServerAliveInterval 20
ServerAliveCountMax 5
ConnectTimeout 60