Hosted CLI command reference
Every Hosted CLI command with its syntax, what it shows and examples. Hosted CLI runs in the Hosted Console tab of the Customer Portal.
Hosted CLI is the first tab of the Hosted Console. It talks to your account through the Customer Portal, so it shows exactly what the portal shows and can do the same safe actions.
Note
Hosted CLI runs in your browser inside the portal. It is not a program you install, and it does not replace an API. Commands are not case-sensitive.
Commands
| Command | What it does |
|---|---|
help | Lists all commands and keyboard shortcuts. ? works too. |
whoami | Shows your name, email address and account type (individual or corporate). |
services [vm|container] | Lists your services in a table: ID, name, package, status, address and renewal date. ls is a short form. |
show <name|id> | Shows one service: ID, package, status, address, price, billing period and renewal date. |
vm start|stop|reboot <name|id> | Starts, stops or reboots a virtual server. Asks for confirmation first. |
ssh [name|ip] | Without an argument, lists the servers you can connect to. With one, opens a web SSH tab. |
shell [name] | Without an argument, lists your container applications. With one, opens its terminal in a new tab. |
invoices [unpaid] | Lists your invoices: number, amount, status and due date. invoices unpaid shows only open ones. |
balance | Shows your account balance. |
tickets | Lists your 20 most recent support tickets with status and last update. |
mind <question> | Asks Hosted Mind. The answer is written into the terminal as it arrives. |
open <page> | Opens a portal page: dashboard, services, billing, invoices, support, tickets, profile, help or catalog. |
clear | Clears the screen. |
exit | Closes the CLI tab. |
Referring to a service
Commands that take <name|id> accept any of these, and use the first match:
- The full service ID.
- The start of the ID, for example the 8 characters shown in
services. - The exact service name, or the exact domain name.
- The IP address of a server.
- Part of a name or domain, if only one service matches.
If a name contains spaces, type it as it is: show my web server.
Examples
services vmvm reboot web-01
Run reboot on web-01? [y/N] y
web-01: reboot command sent.The confirmation question accepts y to continue. Enter, n or CtrlC cancels.
invoices unpaidmind why is my server suspended?ssh 203.0.113.24Statuses and colors
Statuses are colored so problems stand out: green for active, paid, running and answered; yellow for pending, waiting, in_progress and open; red for suspended, unpaid, overdue, failed and error.
Good to know
vmcommands work only on virtual servers (cloud servers and hybrid pool servers). A command is sent to the server; starting or rebooting can take a little time. Check the result withshow <name>or on the service page.mindis available only if Hosted Mind is enabled for your account. Eachmindquestion remembers your last few questions in the same tab, so you can ask follow-ups.- Command history is kept for the open tab only (up to 200 commands). It is not saved when you close the tab.
- Nothing in Hosted CLI can pay, refund or delete a service. Those actions stay in the portal.
Related articles