From 706d588d582a85d9791fe65f7e4b68bed935c7b0 Mon Sep 17 00:00:00 2001
From: Chris Hines <chris.hines@monash.edu>
Date: Wed, 16 Sep 2020 15:02:59 +1000
Subject: [PATCH] change tunnel cmd

---
 tes/sshwrapper/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tes/sshwrapper/__init__.py b/tes/sshwrapper/__init__.py
index 11abeb1..6093fb6 100644
--- a/tes/sshwrapper/__init__.py
+++ b/tes/sshwrapper/__init__.py
@@ -423,7 +423,7 @@ class Ssh:
                 batchhost=batchhost)
             sshcmd = Ssh.SSHCMDWITHOPTS.copy()
             sshcmd.extend([
-                      '-o', "ProxyCommand={}".format(proxycmd),
+                '-o', "ProxyCommand=\"{}\"".format(proxycmd),
                       '-L', '{localport}:localhost:{port}'.
                       format(port=port, localport=localport),
                       '-p', sshport, '-l', user, batchhost])
-- 
GitLab