From: Tobias Brunner Date: Mon, 4 Mar 2013 10:36:47 +0000 (+0100) Subject: testing: ssh script forwards arguments to ssh command X-Git-Tag: 5.0.3dr3~11 X-Git-Url: https://git.strongswan.org/?p=strongswan.git;a=commitdiff_plain;h=505745567481c0dc1a085d58b889d399be07f1fb testing: ssh script forwards arguments to ssh command This allows to execute commands on a virtual host. --- diff --git a/testing/ssh b/testing/ssh index fc72c26..9e6d49a 100755 --- a/testing/ssh +++ b/testing/ssh @@ -17,4 +17,5 @@ then exit 1 fi -exec ssh $SSHCONF -q root@$ip +shift +exec ssh $SSHCONF -q root@$ip $@