aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-06-12 13:14:47 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2017-06-12 13:14:47 +0200
commita10ec3b3a963c486344a90214c162e118d801c47 (patch)
tree173723ca9b5dc5e3d847d1c19e58e8cf9c99c493 /tools
parentb05c5acee568417aa24a32dff2c20ce298e2c595 (diff)
downloadrumba-a10ec3b3a963c486344a90214c162e118d801c47.tar.gz
rumba-a10ec3b3a963c486344a90214c162e118d801c47.zip
tools: Fix rumba access script
This fixes some errors in the rumba access script.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/rumba-access5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/rumba-access b/tools/rumba-access
index e4ab468..075caf0 100755
--- a/tools/rumba-access
+++ b/tools/rumba-access
@@ -34,10 +34,11 @@ fi
if [[ $PROXY_CMD = "None" ]]; then
PROXY_CMD=""
+ PROXY_PREF=""
else
- PROXY_CMD="-oProxyCommand=$PROXY_CMD"
+ PROXY_PREF="-oProxyCommand="
fi
echo "Accessing Rumba node ${MACHINE_ID}"
# -o IdentityFile=buildroot/irati_rsa
-ssh -A -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ${PROXY_CMD} -p ${SSH_PORT} ${USER}@${HOST}
+ssh -A -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ${PROXY_PREF}"${PROXY_CMD}" -p ${SSH_PORT} ${USER}@${HOST}