testing: ssh script forwards arguments to ssh command

This allows to execute commands on a virtual host.
This commit is contained in:
Tobias Brunner
2013-03-05 17:40:12 +01:00
parent d7eec03815
commit 5057455674
+2 -1
View File
@@ -17,4 +17,5 @@ then
exit 1
fi
exec ssh $SSHCONF -q root@$ip
shift
exec ssh $SSHCONF -q root@$ip $@