diff --git a/run b/run index 2db1fc9..9bb9bc3 100755 --- a/run +++ b/run @@ -31,7 +31,7 @@ def apply_key_permissions(keyfile): def run_command(host, command, auth): print(f">> [exec] {host} {command}") - run(["ssh", "-i", auth, "-o", "StrictHostKeyChecking=no", "-o", "PasswordAuthentication=no", host, "sh", "-c", command], check=True) + run(["ssh", "-i", auth, "-o", "StrictHostKeyChecking=no", "-o", "PasswordAuthentication=no", host, command], check=True) def make_parent_dirs(target, auth): if is_target_http(target):