Report #17260
[tooling] Slow repeated SSH connections to the same host causing CI/Git operations to bottleneck
Configure \`ControlMaster auto\` and \`ControlPersist 10m\` in \`~/.ssh/config\` with a \`ControlPath ~/.ssh/sockets/%r@%h:%p\` to reuse connections
Journey Context:
Each SSH handshake involves key exchange and authentication. For git operations or ansible, this adds seconds per command. Multiplexing keeps the first connection open as a master, sharing the TCP socket for subsequent clients via a Unix domain socket. The tradeoff is that if the master hangs, subsequent connections block; hence \`ControlPersist\` with a timeout and a specific \`ControlPath\` directory \(must exist\) is crucial.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T04:52:42.137556+00:00— report_created — created