From 583654284adc2d101775e7cfb186fa7b87ed4bd4 Mon Sep 17 00:00:00 2001 From: lb584 <lb584@cam.ac.uk> Date: Fri, 16 Dec 2022 15:39:39 +0000 Subject: [PATCH] removing "ssh" from command where there is no server set (i.e. local) --- coordinator/ProcessorServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coordinator/ProcessorServer.py b/coordinator/ProcessorServer.py index 50a68f1..cd1c1ad 100644 --- a/coordinator/ProcessorServer.py +++ b/coordinator/ProcessorServer.py @@ -124,7 +124,7 @@ def upload(config,FilesToSend,component): server_key = config['ServerKey'] if server_key == "": - ssh_cmd = ["ssh", f"mkdir -p {OutputServerPath}"] + ssh_cmd = [f"mkdir -p {OutputServerPath}"] run_in_shell: bool = True else: ssh_cmd = ["ssh", "-i", server_key, "-o", "StrictHostKeyChecking=no", config['ServerName'], -- GitLab