diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2017-06-09 07:19:53 +0000 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2017-06-09 07:19:53 +0000 |
commit | b05c5acee568417aa24a32dff2c20ce298e2c595 (patch) | |
tree | 0db37d718dd6ebb0b7752faa157a09d81acc8480 /tools/rumba-access | |
parent | 70434950970ac53fde6aa6823eb73d7f3da67904 (diff) | |
parent | a427bde346383f8b414e3f49680d40cd1e94d321 (diff) | |
download | rumba-b05c5acee568417aa24a32dff2c20ce298e2c595.tar.gz rumba-b05c5acee568417aa24a32dff2c20ce298e2c595.zip |
Merge branch 'rearrange' into 'master'
tools: rumba-access: rearrange script
See merge request !55
Diffstat (limited to 'tools/rumba-access')
-rwxr-xr-x | tools/rumba-access | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/rumba-access b/tools/rumba-access index 4c77d2b..e4ab468 100755 --- a/tools/rumba-access +++ b/tools/rumba-access @@ -32,10 +32,12 @@ if [ "$PROXY_CMD" == "" ]; then exit 255 fi -echo "Accessing Rumba node ${MACHINE_ID}" -# -o IdentityFile=buildroot/irati_rsa if [[ $PROXY_CMD = "None" ]]; then - ssh -A -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p ${SSH_PORT} ${USER}@${HOST} + PROXY_CMD="" else - ssh -A -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -oProxyCommand="$PROXY_CMD" -p ${SSH_PORT} ${USER}@${HOST} + PROXY_CMD="-oProxyCommand=$PROXY_CMD" 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} |