Run a sequence of commands against local and remote hosts.