We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa7074d commit 6c9017cCopy full SHA for 6c9017c
ssh-keepalive/entrypoint.sh
@@ -45,7 +45,7 @@ MAX_INTERVAL=32
45
46
while true; do
47
# Start autossh and ignore its exit status
48
- autossh -M 30038:32593 -o "StrictHostKeyChecking=no" -o "ServerAliveInterval=30" -o "ServerAliveCountMax=3" -N "${SSH_COMMAND}" -p "${SSH_PORT}" || true
+ AUTOSSH_POLL=60 autossh -M 57754:54909 -o "StrictHostKeyChecking=no" -o "ServerAliveInterval=30" -o "ServerAliveCountMax=3" -N "${SSH_COMMAND}" -p "${SSH_PORT}" || true
49
50
# If autossh exits, print an error message
51
echo "Error: autossh has exited. Retrying in ${RETRY_INTERVAL} seconds..."
0 commit comments