spoke/compose.yaml: add ExitOnForwardFailure so autossh reconnects when the port forward fails

This commit is contained in:
Justin Oros committed 2026-10-31 17:17:49 -07:00
1 parent cbdbce7a41
commit 4b27599927
1 file changed
+1
+1
View File
@@ -10,6 +10,7 @@ services:
autossh -M 0 -NT
-o "ServerAliveInterval=60"
-o "ServerAliveCountMax=3"
-o "ExitOnForwardFailure=yes"
-R 11111:localhost:22
-i /home/armbian/.ssh/hubkey
armbian@hub.example.com