testing: ssh script forwards arguments to ssh command
This allows to execute commands on a virtual host.
This commit is contained in:
1 parent
d7eec03815
commit
5057455674
1 file changed
+2
-1
+2
-1
@@ -17,4 +17,5 @@ then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exec ssh $SSHCONF -q root@$ip
|
||||
shift
|
||||
exec ssh $SSHCONF -q root@$ip $@
|
||||
Reference in new issue
Block a user