Throw an exception if there was a problem with the pssh call.