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

CommandWhat it does
helpLists all commands and keyboard shortcuts. ? works too.
whoamiShows 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.
balanceShows your account balance.
ticketsLists 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.
clearClears the screen.
exitCloses the CLI tab.

Referring to a service

Commands that take <name|id> accept any of these, and use the first match:

  1. The full service ID.
  2. The start of the ID, for example the 8 characters shown in services.
  3. The exact service name, or the exact domain name.
  4. The IP address of a server.
  5. 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

List your servers
services vm
Reboot a server
vm 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.

Only unpaid invoices
invoices unpaid
Ask Hosted Mind
mind why is my server suspended?
Open a server in a new SSH tab
ssh 203.0.113.24

Statuses 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

  • vm commands 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 with show <name> or on the service page.
  • mind is available only if Hosted Mind is enabled for your account. Each mind question 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.

Still need help?

Our team is here 24/7

If you can't find the answer, talk to a person. Have your service name or invoice number ready.