@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user