an approach to execute shell commands remotely