diff options
author | Sander Vrijders <sander.vrijders@ugent.be> | 2017-06-13 09:42:01 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2017-06-13 09:42:01 +0200 |
commit | a5e67722327ecb2046798e6ad9a103fb42cb09e8 (patch) | |
tree | 687b081d02d3596d835c2c681dc0935eb8de242e /tools | |
parent | 79c5fd0d01187974e90c75e3c55b921bed555fb1 (diff) | |
download | rumba-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')
-rwxr-xr-x | tools/rumba-access | 10 |
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} |