run a command on the remote server