Run command in remote after copying current directory