Tag

system-management Archives - AWS Managed Services by Anchor

SSH ControlMaster: The Good, The Bad, The Ugly

By | Technical | 6 Comments

Do you love SSH for the good it has done for mankind, but get annoyed by how long it takes to establish a connection over a high-latency connection? Perhaps you have a process that needs to make thousands of SSH connections, and you’d like a little extra speed from the whole thing. Either way, ControlMaster is your new best friend. The concept is very simple — rather than each new SSH connection to a particular server opening up a new TCP connection, you instead multiplex all of your SSH connections down one TCP connection. The authentication only happens once, when the TCP connection is opened, and thereafter all your extra SSH sessions are sent down that connection. If you’re SSHing between machines on the same LAN, or otherwise a short…

Read More