Make sure the ssh commands succeed.

If installation on any of the nodes fails, it's better to avoid starting the
tests.