Files
loki/scripts
Mao NakamotoandClaude Opus 4.8 72b654e7c3 fix(deploy): SSH keepalive on rsync transports so a dead connection fails fast
A deploy wedged for 15+ min at 'rsync standalone → box': 0 bytes/s, box fully
reachable — a dead TCP channel that never timed out. The restart-ssh already had
ServerAlive guards (after a documented 47-min hang); the rsync calls did not.
Add `-e "ssh -o ConnectTimeout=10 -o ServerAliveInterval=15 -o ServerAliveCountMax=6"`
to the standalone, bridge, and runner rsyncs so a silent connection drops after
~90s and the deploy can be rerun instead of hanging past every downstream timeout.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016g8LdPdzoEbVwQ1SdYW5RY
2026-07-10 08:18:50 +02:00
..