Look for documentation on the ControlMaster / ControlPath / ControlPersist options for OpenSSH.