1
0
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:
Ivan Mikushin 2015-05-07 14:22:10 +05:00
parent 26aae6303f
commit 11c5348845

View File

@ -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 "$@"