aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvmx3
1 files changed, 2 insertions, 1 deletions
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"