From 215360e29b70ba1aa44916dad81dae5fa0a4dd71 Mon Sep 17 00:00:00 2001 From: Captain Beyond Date: Sat, 16 Nov 2024 04:47:36 -0600 Subject: [PATCH] disable password authentication for ssh, since this is run non-interactively --- run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run b/run index 51ae074..f891c8c 100755 --- a/run +++ b/run @@ -11,7 +11,7 @@ TARGET = os.environ['PLUGIN_TARGET'] def deploy(source, target, keyfile): for source_file in glob.glob(source): print(f">> {source_file} -> {target}") - run(["scp", "-i", keyfile, "-o", "StrictHostKeyChecking=no", "-r", source_file, target]) + run(["scp", "-i", keyfile, "-o", "StrictHostKeyChecking=no", "-o", "PasswordAuthentication=no", "-r", source_file, target], check=True) temp_file_name = None try: