synchronize ssh connection.