<div dir="ltr">Hi all,<div><br></div><div>What's the best way to set up a persistent master connection, along with a proxy jump host? Ideally the persistent master would speed up connections to machines behind the proxy, not just the connection to the proxy.</div><div><br></div><div>Is this okay?</div><div><br></div><div><div>Host jumpbox</div><div>    User           jumpboxuser</div><div>    IdentityFile   jumpbox_key</div><div>    ControlMaster  auto</div><div>    ControlPath    ~/.ssh/controlmaster-%r@%h:%p</div><div>    ControlPersist 5m</div><div><br></div><div>Host internal1 internal2 internal3 internal4</div><div>    User           internaluser</div><div>    IdentityFile   internal_key</div><div>    ProxyCommand   ssh -W %h:%p -F ssh.config jumpbox</div><div>    ControlMaster  auto</div><div>    ControlPath    ~/.ssh/controlmaster-%r@%h:%p</div><div>    ControlPersist 5m</div></div><div><br></div><div>I was worried that the internal[1234] controlmaster connections would be multiplexed through the jumpbox one, but I stopped the jumpbox master with "-O stop", verified that the socket file was gone, and the internal[1234] controlmaster connections seemed to keep working.</div><div><br></div><div>Thanks,</div><div>David</div></div>