execute commands on a set of remote machines