SSH Multiplexing with ControlMaster
A typical Deployer run fires somewhere between twenty and a hundred SSH commands per host. Pull from git, install
vendors, run migrations, swap a symlink, restart container, clean up old releases. If each of those opened a fresh SSH
connection, deploys would feel painful. They do not, because of a small OpenSSH feature called ControlMaster. This
post is about how it works, and how Deployer wires it up.