From 36cf001246f41539c5dabd70646592f0d3c02398 Mon Sep 17 00:00:00 2001 From: lb584 <lb584@cam.ac.uk> Date: Thu, 5 Oct 2023 13:51:40 +0100 Subject: [PATCH] ...and putting it back again --- coordinator/ProcessorServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coordinator/ProcessorServer.py b/coordinator/ProcessorServer.py index 0dd4dbd..c3f3bf8 100644 --- a/coordinator/ProcessorServer.py +++ b/coordinator/ProcessorServer.py @@ -52,7 +52,7 @@ def process_pre_job_server_download(input_args: dict): if server_name == "": # means the file is local data_is_ready = os.path.exists(full_file_path) and tarfile.is_tarfile(full_file_path) else: - cmd_check_file = ["ssh", "-o", "StrictHostKeyChecking=no", server_name, + cmd_check_file = ["ssh", "-i", config['ServerKey'], "-o", "StrictHostKeyChecking=no", server_name, f"test -f {full_file_path} && tar -tzf {full_file_path} >/dev/null"] run_in_shell: bool = False -- GitLab