From 735a2220a80b585f11a7543f18eb19f2af04bd92 Mon Sep 17 00:00:00 2001
From: lb584 <lb584@cam.ac.uk>
Date: Wed, 4 Oct 2023 14:42:07 +0100
Subject: [PATCH] removing the requirement for a server key in lb584 branch

---
 coordinator/ProcessorServer.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/coordinator/ProcessorServer.py b/coordinator/ProcessorServer.py
index c3f3bf8..0dd4dbd 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", "-i", config['ServerKey'], "-o", "StrictHostKeyChecking=no", server_name,
+            cmd_check_file = ["ssh", "-o", "StrictHostKeyChecking=no", server_name,
                               f"test -f {full_file_path} && tar -tzf {full_file_path} >/dev/null"]
             run_in_shell: bool = False
 
-- 
GitLab