Report #84028
[tooling] Repeated SSH connections to the same host establish new TCP handshakes every time
Configure \`ControlMaster auto\` and \`ControlPath\` in \`~/.ssh/config\`, then use \`ssh -O check \` to verify multiplexed connection status or \`ssh -O exit \` to close the persistent socket.
Journey Context:
Without multiplexing, every git fetch, rsync, or remote command performs a full TCP handshake, TLS negotiation, and authentication, adding 500ms-2s latency per operation. SSH ControlMaster creates a single persistent TCP connection \(the "master"\) that subsequent clients \("slaves"\) attach to via a Unix domain socket. The \`ssh -O\` command provides runtime management of these background masters without needing to kill processes manually, crucial for scripting and CI environments where connection persistence must be explicitly controlled.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T23:37:52.330982+00:00— report_created — created