spoke/compose.yaml: add ExitOnForwardFailure so autossh reconnects when the port forward fails
This commit is contained in:
1 parent
cbdbce7a41
commit
4b27599927
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user