aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincenzo Maffione <v.maffione@gmail.com>2017-06-12 15:18:15 +0000
committerVincenzo Maffione <v.maffione@gmail.com>2017-06-12 15:18:15 +0000
commit79c5fd0d01187974e90c75e3c55b921bed555fb1 (patch)
tree173723ca9b5dc5e3d847d1c19e58e8cf9c99c493
parentb05c5acee568417aa24a32dff2c20ce298e2c595 (diff)
parenta10ec3b3a963c486344a90214c162e118d801c47 (diff)
downloadrumba-79c5fd0d01187974e90c75e3c55b921bed555fb1.tar.gz
rumba-79c5fd0d01187974e90c75e3c55b921bed555fb1.zip
Merge branch 'access-fix' into 'master'
tools: Fix rumba access script See merge request !56
-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}