mw cloudvps compute ssh
Releasev0.35.0 · cfeceb67
mw cloudvps compute ssh <instance-id> [flags] -- [command [args...]]Connect using the instance’s eqiad1 Cloud VPS DNS name and your local SSH configuration. Use –jump for a bastion if it is not already configured in ~/.ssh/config. Remote command arguments are passed literally; use sh -c explicitly for shell expressions. With –script, upload a local Bash script to a private temporary file, run it with the arguments after –, and remove it afterwards. Use –tty for interactive prompts. –sudo runs the script through passwordless sudo.
Options
Section titled “Options”Global options
Section titled “Global options”Examples
Section titled “Examples”mw cloudvps compute ssh <instance-id> --project mwcli --user <shell-username> --jump primary.bastion.wmcloud.orgmw cloudvps compute ssh <instance-id> --project mwcli -- uname -amw cloudvps compute ssh <instance-id> --project mwcli --script tools/ci/runner.sh --sudo --tty -- setupSee also
Section titled “See also”Page views: —Sessions: —