From: Silvio Rhatto Date: Mon, 6 Mar 2017 20:03:02 +0000 (-0300) Subject: Accept commands on kvmx ssh action X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=180a08968334dfa2ef44b51a522cc2605b9226d4;p=vbox.git Accept commands on kvmx ssh action --- diff --git a/kvmx b/kvmx index f1b3c24..b12eb77 100755 --- a/kvmx +++ b/kvmx @@ -99,8 +99,9 @@ elif [ "$ACTION" == "resume" ]; then elif [ "$ACTION" == "poweroff" ]; then echo TODO elif [ "$ACTION" == "ssh" ]; then + shift 2 SSH="`cat $SSHFILE`" - $SSH_COMMAND -p $SSH $LOGIN@127.0.0.1 + $SSH_COMMAND -p $SSH $LOGIN@127.0.0.1 $* elif [ "$ACTION" == "rsync" ]; then ORIG="$3" DEST="$4"