mirror of
https://github.com/rancher/os.git
synced 2025-08-31 14:23:11 +00:00
./scripts/ssh
: exec arbitrary command
e.g. `./scripts/ssh sudo system-docker ps -a`
This commit is contained in:
@@ -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 "$@"
|
||||
|
Reference in New Issue
Block a user