Report #10420
[tooling] Repeated SSH connections to the same host are slow due to handshake overhead
Enable ControlMaster auto and ControlPersist in ssh\_config for connection reuse
Journey Context:
Each SSH connection performs full TCP handshake, encryption negotiation, and authentication. For automation \(git, ansible, rsync\), this overhead compounds. ControlMaster creates a Unix socket for the first connection; subsequent clients use this master connection instantly \(multiplexing\). ControlPersist keeps the master open after the last client disconnects \(e.g., 60s\), amortizing handshake costs across many operations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T10:42:16.894884+00:00— report_created — created