mirror of
https://github.com/balena-io/open-balena.git
synced 2024-12-18 21:27:52 +00:00
SSH reliability settings
SSH connections keep breaking between Hetzner EU DCs and AWS us-east-1 for no particular reason. Suspect Hetzner local network saturation and/or a function of trans-atlantic routing/peering/time of day. Adding connection multiplexing and keepalive to test this theory. change-type: patch
This commit is contained in:
parent
24d2b2c646
commit
758c52b7ba
5
.github/workflows/tests.yml
vendored
5
.github/workflows/tests.yml
vendored
@ -880,6 +880,11 @@ jobs:
|
||||
host i-*
|
||||
StrictHostKeyChecking no
|
||||
UserKnownHostsFile /dev/null
|
||||
TCPKeepAlive yes
|
||||
ServerAliveInterval 5
|
||||
ControlPath "${HOME}/.ssh/controlmasters/%r@%h:%p"
|
||||
ControlMaster auto
|
||||
ControlPersist 5m
|
||||
ProxyCommand sh -c "aws ssm start-session --target %h --document-name AWS-StartSSHSession --parameters 'portNumber=%p'"
|
||||
EOF
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user