mirror of
https://github.com/rancher/os.git
synced 2025-08-02 07:24:28 +00:00
./scripts/ssh
: exec arbitrary command
e.g. `./scripts/ssh sudo system-docker ps -a`
This commit is contained in:
parent
26aae6303f
commit
11c5348845
@ -3,4 +3,4 @@ set -e
|
||||
|
||||
cd $(dirname $0)/..
|
||||
|
||||
exec ssh -p 2222 -F ./assets/scripts_ssh_config -i ./assets/rancher.key rancher@localhost
|
||||
exec ssh -p 2222 -F ./assets/scripts_ssh_config -i ./assets/rancher.key rancher@localhost "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user