Report #65911
[tooling] Slow SSH connections through a bastion/jump host requiring re-authentication every time
Configure \`ControlMaster auto\` and \`ControlPath ~/.ssh/sockets/%r@%h:%p\` in \`~/.ssh/config\`, combined with \`ProxyJump bastion\`. First auth establishes a persistent socket; subsequent connections multiplex through it instantly.
Journey Context:
Without ControlMaster, every \`scp\` or \`rsync\` through a bastion re-authenticates, slowing automation. ProxyJump simplifies the hop syntax, but ControlMaster provides the persistent TCP connection reuse. The socket path must be unique per target \(hence %r@%h:%p\). This reduces connection time from seconds to milliseconds and avoids MFA fatigue.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T17:06:33.374341+00:00— report_created — created