document running commands remotely