aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/rumba-access10
1 files changed, 3 insertions, 7 deletions
diff --git a/tools/rumba-access b/tools/rumba-access
index 075caf0..1cf382e 100755
--- a/tools/rumba-access
+++ b/tools/rumba-access
@@ -32,13 +32,9 @@ if [ "$PROXY_CMD" == "" ]; then
exit 255
fi
+echo "Accessing Rumba node ${MACHINE_ID}"
if [[ $PROXY_CMD = "None" ]]; then
- PROXY_CMD=""
- PROXY_PREF=""
+ ssh -A -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p ${SSH_PORT} ${USER}@${HOST}
else
- PROXY_PREF="-oProxyCommand="
+ ssh -A -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -oProxyCommand="$PROXY_CMD" -p ${SSH_PORT} ${USER}@${HOST}
fi
-
-echo "Accessing Rumba node ${MACHINE_ID}"
-# -o IdentityFile=buildroot/irati_rsa
-ssh -A -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ${PROXY_PREF}"${PROXY_CMD}" -p ${SSH_PORT} ${USER}@${HOST}