From a5e67722327ecb2046798e6ad9a103fb42cb09e8 Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Tue, 13 Jun 2017 09:42:01 +0200 Subject: tools: Revert rumba-access to initial state This reverts the script to its original state since it was not functioning properly. --- tools/rumba-access | 10 +++------- 1 file 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} -- cgit v1.2.3