test/cluster: Use a persistent SSH connection

This avoids connecting to SSH for every single command (there are a lot of them when dumping logs).
I don't think that will work, as we should leave the mutex locked until we're done with the connection.