Some SSH options are worth tweaking when directly distributing code with git to multiple remotes. ConnectTimeout and BatchMode (optionally for automation). ControlMaster enables multiplexing for session sharing via sockets. cfg ForwardX11 no Compression no ConnectTimeout 3 ServerAliveCountMax 1 ServerAliveInterval 10 Host * ControlMaster auto ControlPersist yes ControlPath ~/.ssh/sockets/%r@%h-%p An example ~/.ssh/config or /etc/ssh/ssh_config%r@%h-%p translates to user@hostname-22.