Report #95686
[tooling] Repeated SSH/SCP commands to the same host are slow due to re-authentication
Add \`ControlMaster auto\`, \`ControlPath ~/.ssh/sockets/%r@%h-%p\`, and \`ControlPersist 600\` to ~/.ssh/config to multiplex connections over a single authenticated socket
Journey Context:
Without multiplexing, each \`ssh\`, \`scp\`, \`rsync\`, or \`git fetch\` opens a new TCP connection and re-authenticates—often involving expensive key operations or MFA prompts. ControlMaster creates a single persistent socket for the first connection; subsequent commands reuse it via a Unix domain socket, reducing latency to near-zero. ControlPersist keeps the master open for N seconds after the last client disconnects, amortizing setup cost across many short-lived commands.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T19:11:35.756984+00:00— report_created — created