aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-03-04 11:36:47 +0100
committerTobias Brunner <tobias@strongswan.org>2013-03-05 17:40:12 +0100
commit505745567481c0dc1a085d58b889d399be07f1fb (patch)
treed39c5703732889cc3778a619850583c51e5a1af1 /testing
parentd7eec03815409d608c743003b650c18705770e97 (diff)
downloadstrongswan-505745567481c0dc1a085d58b889d399be07f1fb.tar.bz2
strongswan-505745567481c0dc1a085d58b889d399be07f1fb.tar.xz
testing: ssh script forwards arguments to ssh command
This allows to execute commands on a virtual host.
Diffstat (limited to 'testing')
-rwxr-xr-xtesting/ssh3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/ssh b/testing/ssh
index fc72c265e..9e6d49a61 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 $@