diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-03-06 17:03:02 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-03-06 17:03:02 -0300 |
commit | 180a08968334dfa2ef44b51a522cc2605b9226d4 (patch) | |
tree | 100b11dd103da7e6bf4349cf801cb87f2e3d11f8 | |
parent | 44c3fcb590489ffef465f437e75ac9351fa8c5a4 (diff) | |
download | vbox-180a08968334dfa2ef44b51a522cc2605b9226d4.tar.gz vbox-180a08968334dfa2ef44b51a522cc2605b9226d4.tar.bz2 |
Accept commands on kvmx ssh action
-rwxr-xr-x | kvmx | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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" |