Speed Up Repeated SSH Connections with Connection Multiplexing
Reuse one SSH TCP connection for multiple sessions to the same host with OpenSSH ControlMaster and ControlPersist.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Reuse one SSH TCP connection for multiple sessions to the same host with OpenSSH ControlMaster and ControlPersist.
SSH ControlMaster multiplexing lets scripts and Git operations reuse one authenticated connection, cutting repeated handshake latency and server load.
An architecture note on SSH connection multiplexing via ControlMaster: outlines requirements, minimal configuration, trust boundaries, operational verification steps, failure modes, and triggers for redesign.