Commands
Every command below is typed after ssh <org>@satama.dev, at its prompt or on the same line. Under each is the API route that does the same, relative to https://satama.dev; MCP has the same actions as tools. A few things are done over SSH only, with a person's key: inviting people, changing roles, making tokens and approving apps.
On satama itself, help lists the everyday commands, help all all of them, and help <command> one in full, with examples.
ssh acme@satama.dev changes blog --diff /var/www/html/wp-config.php
--jsonon any command gives machine-readable output, and--no-waitreturns right away.- Deleting asks you to confirm on a terminal; in scripts, add
--yes. ssh -qleaves out the banner.
Servers
Owners and admins add and remove servers. Each is its own virtual machine; its sites share its memory, CPU and disk.
- server ls
- Your servers: their state, plan and location.
- API:
GET /v1/orgs/{org}/servers - server info <name>
- A server's addresses, certificate and any problem.
- API:
GET /v1/orgs/{org}/servers - server add <name> [--size s|m|l] [--location <location>]
- Add a server.
- API:
POST /v1/orgs/{org}/servers - server resize <name> --size <size>
- Give a server another size.
- API:
POST /v1/orgs/{org}/servers/{server}/resize - server rm <name>
- Delete a server with every site and save on it, for good.
- API:
DELETE /v1/orgs/{org}/servers/{server}
Machines
Add --server <name> if you have more than one server, and --project <name> when more than one project has a machine of that name.
- ls [--server S] [--project P]
- Your servers and their machines, with their web addresses.
- API:
GET /v1/orgs/{org}/servers/{server}/machines - info <name>
- One machine: its address, where it is, its latest save, what it uses.
- API:
GET /v1/orgs/{org}/servers/{server}/machines/{machine} - top [--project P] [--once]
- What the servers and machines are using now, updated live (q quits).
- API:
GET /v1/orgs/{org}/servers/{server}/usage - stats [<name>] [--since 24h]
- What the server, or one machine, used over time, up to 30 days back.
- API:
GET /v1/orgs/{org}/servers/{server}/stats - new <name> [--os <system> | --template <template> | --repo <https address>] [--project <project>] [--site|--no-site] [--port <port>] [--no-autosave]
- Create a machine: plain (Ubuntu 26.04, or --os debian, alpine ...), from a template (wordpress, lamp, postgres, mysql, mariadb, valkey), or an app built from a public git repository. Templates get a web address; plain machines only with --site or --port. --memory, --cpu, --disk and --processes set its limits.
- API:
POST /v1/orgs/{org}/servers/{server}/machines - template ls
- The templates a machine can be created from.
- API:
GET /v1/orgs/{org}/servers/{server}/templates - start | stop | restart <name>
- Start, stop or restart a machine. Its disk and saves stay.
- API:
POST /v1/orgs/{org}/servers/{server}/machines/{machine}/start·POST /v1/orgs/{org}/servers/{server}/machines/{machine}/stop·POST /v1/orgs/{org}/servers/{server}/machines/{machine}/restart - shell <name>
- A shell in a machine, as root. Connect with ssh -t.
- API: SSH only
- run <name> <command>
- Run one command in a machine, as root.
- API:
POST /v1/orgs/{org}/servers/{server}/machines/{machine}/exec - logs <name> [--limit N]
- What an app (new --repo) printed: its last lines.
- API:
GET /v1/orgs/{org}/servers/{server}/machines/{machine}/logs - update <name> [--rebuild]
- An app's new version, from its branch's newest commit.
- API:
POST /v1/orgs/{org}/servers/{server}/machines/{machine}/update - copy <name> <new> [--project P] [--from-project P]
- Copy a machine as it is now, while it keeps running. A WordPress site moves to its new address, with the same logins.
- API:
POST /v1/orgs/{org}/servers/{server}/machines/{machine}/copy - rename <name> <new name>
- A new name for a machine; its web address stays (it restarts).
- API:
POST /v1/orgs/{org}/servers/{server}/machines/{machine}/rename - limit <name> [--memory 512M] [--cpu 0.5] [--disk 5G]
- A machine's own limits within its server's.
- API:
POST /v1/orgs/{org}/servers/{server}/machines/{machine}/limits - autosave <name> on|off
- A machine's hourly saves, and with them its off-site backups.
- API:
POST /v1/orgs/{org}/servers/{server}/machines/{machine}/autosave - check <name> -- <command>
- A machine's health check: a command that exits 0 when all is well. check <name> runs it, --off takes it away.
- API:
POST /v1/orgs/{org}/servers/{server}/machines/{machine}/check·GET /v1/orgs/{org}/servers/{server}/machines/{machine}/check·POST /v1/orgs/{org}/servers/{server}/machines/{machine}/check/run·DELETE /v1/orgs/{org}/servers/{server}/machines/{machine}/check - rm <name>
- Delete a machine, its site and all its saves, for good.
- API:
DELETE /v1/orgs/{org}/servers/{server}/machines/{machine}
Saves
Automatic saves run every hour. Restores save the current state first, so nothing is lost.
- save <name> [label]
- Save a machine now.
- API:
POST /v1/orgs/{org}/servers/{server}/machines/{machine}/saves - save ls <name>
- A machine's saves, which are also off-site, and those from before a restore.
- API:
GET /v1/orgs/{org}/servers/{server}/machines/{machine}/saves - save ls
- Which machines' saves are also kept off-site, and from when.
- API:
GET /v1/orgs/{org}/servers/{server}/backups - save rm <name> <save>
- Delete one save, for good.
- API:
DELETE /v1/orgs/{org}/servers/{server}/machines/{machine}/saves/{save} - changes <name> [--since S] [--until S] [--all] [--diff <file>]
- What changed since a save (the latest, unless you name one): the files, or with --diff one file line by line. --all shows logs, caches and temporary files too.
- API:
GET /v1/orgs/{org}/servers/{server}/machines/{machine}/changes·GET /v1/orgs/{org}/servers/{server}/machines/{machine}/changes/file - restore <name> <save>
- Go back to a save. The current state is saved first.
- API:
POST /v1/orgs/{org}/servers/{server}/machines/{machine}/restore - undo <name>
- Undo the latest restore or update (undo again to redo), within 30 days.
- API:
POST /v1/orgs/{org}/servers/{server}/machines/{machine}/undo
Sites
A site's address is <machine>-<org>.satama.link. New sites are private.
- site <name>
- A site's address, who gets it, and its links.
- API:
GET /v1/orgs/{org}/servers/{server}/machines/{machine}/access - site on <name> | site off <name>
- Give a machine a web address, or take it off the web.
- API:
POST /v1/orgs/{org}/servers/{server}/machines/{machine}/site - site public <name> | site private <name>
- Open a site to everyone, or close it again.
- API:
POST /v1/orgs/{org}/servers/{server}/machines/{machine}/access - site port <name> <port>
- Which port of the machine the address goes to (80 unless set).
- API:
POST /v1/orgs/{org}/servers/{server}/machines/{machine}/site/port - site share <name> [--days N] [note] | site share rm <name> <link id>
- A link into a private site, for you or a client; no account needed. It's shown once.
- API:
POST /v1/orgs/{org}/servers/{server}/machines/{machine}/access/links·DELETE /v1/orgs/{org}/servers/{server}/machines/{machine}/access/links/{link} - site requests <name> [--since 1h] [--status 5xx] [--limit N] [--follow]
- A site's requests. Visitors' addresses stay on your server.
- API:
GET /v1/orgs/{org}/servers/{server}/machines/{machine}/requests
Projects
One per client: its machines reach each other, and nothing in other projects.
- project ls [--server S]
- A server's projects, their machines, and how many it may have.
- API:
GET /v1/orgs/{org}/servers/{server}/projects - project add <name>
- Make an empty one, to give people before it has machines.
- API:
POST /v1/orgs/{org}/servers/{server}/projects - project rm <name>
- Remove an empty project and its network.
- API:
DELETE /v1/orgs/{org}/servers/{server}/projects/{project}
People in your org
Inviting people and changing roles is done over SSH, with a person's key.
- member ls
- Who is in the org, and who has been invited.
- API:
GET /v1/orgs/{org}/members·GET /v1/orgs/{org}/invites - member add <email> [--role member|admin | --project a,b]
- Invite someone, to everything or to those projects alone: satama mails them how to join.
- API: SSH only
- member projects <email> <a,b|all>
- Hold a member to those projects, or let them reach all.
- API: SSH only
- member role <email> <role> | member rm <email>
- Change someone's role (member, admin, owner), or remove them, or withdraw an invite that is waiting.
- API:
DELETE /v1/orgs/{org}/invites/{invite} - org rename <new name> | org close
- Rename or close the org (owners; before it has a server).
- API: SSH only
- org leave
- Leave this org.
- API: SSH only
- token add <name> [--role member|admin] [--expires 90d]
- Make an API token. It's shown once.
- API: SSH only
- token ls | token rm <name>
- Your org's API tokens, and revoking one.
- API:
GET /v1/orgs/{org}/tokens·DELETE /v1/orgs/{org}/tokens/{name} - activity [--machine M] [--who P] [--since 24h]
- Who did what, when, and what happened.
- API:
GET /v1/orgs/{org}/audit - ops [<id>] [--wait]
- What has been running: the latest actions, or one of them.
- API:
GET /v1/orgs/{org}/operations·GET /v1/operations/{id}
You
- whoami
- Who you are and which org you're in.
- API:
GET /v1/me - ssh-key ls | ssh-key add "<public key>" | ssh-key rm <fingerprint>
- Your SSH keys, for every org you're in.
- API:
GET /v1/me/ssh-keys·DELETE /v1/me/ssh-keys/{key} - mcp approve <code>
- Let an app (such as Claude Code) act for you over MCP. Needs a terminal: ssh -t.
- API: SSH only
- mcp ls | mcp rm <number>
- The apps that have access, and ending it.
- API:
GET /v1/orgs/{org}/mcp·DELETE /v1/orgs/{org}/mcp/{app}