aboutsummaryrefslogtreecommitdiff
path: root/tools/rumba-access
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-06-13 09:42:01 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2017-06-13 09:42:01 +0200
commita5e67722327ecb2046798e6ad9a103fb42cb09e8 (patch)
tree687b081d02d3596d835c2c681dc0935eb8de242e /tools/rumba-access
parent79c5fd0d01187974e90c75e3c55b921bed555fb1 (diff)
downloadrumba-a5e67722327ecb2046798e6ad9a103fb42cb09e8.tar.gz
rumba-a5e67722327ecb2046798e6ad9a103fb42cb09e8.zip
tools: Revert rumba-access to initial state
This reverts the script to its original state since it was not functioning properly.
Diffstat (limited to 'tools/rumba-access')
-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}