mw cloudvps ssh
Releasev0.35.0 · cfeceb67
mw cloudvps ssh [instance] [-- command arguments...] [flags]Connect to a Cloud VPS instance using your system OpenSSH client. Short instance names use –project or cloud_vps.default_project. Full *.wikimedia.cloud hostnames work without a project. Omit the instance to choose from the project’s public instance list; OpenStack credentials are only needed for –id. Project membership and a registered developer SSH key are still required.
Existing SSH configuration, keys, agents and host-key verification are retained. If no jump host is configured, bastion.wmcloud.org is used automatically. Set cloud_vps.ssh.user to your Wikimedia developer shell username for future connections. An existing developer.username setting is also recognized. Remote arguments are passed literally; use sh -lc for shell expressions.
Options
Section titled “Options”Global options
Section titled “Global options”Examples
Section titled “Examples”mw cloudvps ssh --project mwclimw cloudvps ssh gitlab-runner-addshore-1018 --project mwclimw cloudvps ssh --project mwcli --name gitlab-runner-addshore-1018mw cloudvps ssh vm.project.eqiad1.wikimedia.cloud --user addshoremw cloudvps ssh vm --project project -- uname -amw cloudvps ssh vm --project project -- sh -lc 'cd ~/src && git status'mw cloudvps ssh vm --project project --dry-runSee also
Section titled “See also”Page views: —Sessions: —