Add your machines
Pair your laptops, desktops and servers with your account, and reach them from the web console
Every computer you pair joins your account as a machine. Its terminals and agents show in the web console and the light dashboard, reachable through Mapier's servers with nothing open on your network.
A laptop or desktop
Install the desktop app on it and sign in with your second factor: the app connects the computer to your account by itself and starts its link when you log in, so the computer stays reachable while the app is closed.
To pair a computer by hand, run this in a terminal on it:
mpod link pairThe command prints a web address and an eight-character code, shown as XXXX-XXXX:
- Open the address on a device where you are signed in.
- Check the machine's name, system and location.
- Confirm the code and press Confirm and pair. Tick This is my own computer to let it open your synced history.
The code lasts 10 minutes, and the command asks for a new one up to three times. When it answers Paired., the machine is yours. Lines from it to your other machines stay off until you turn them on from a device you already have.
To give a machine a name of your own, pass --name:
mpod link pair --name studio-macA server, virtual machine or container
A machine with no screen runs mpod alone, as a service. Install it on Linux (x86_64 or ARM64) or a Mac:
curl -fsSL https://pod.mapier.ai/releases/mpod/install.sh | shThe install puts mpod in /usr/local/bin (as root) or ~/.local/bin, and installs three services: the runtime (mpod serve), the link (mpod link run) and the agent status watcher (mpod agents watch). On macOS they are launchd jobs. Then pair it as a server:
mpod link pair --kind serverThe installer takes --user NAME, --no-service, --force and --uninstall. Uninstalling keeps your settings and state folders.
Machines over SSH
The desktop app can also open terminals on machines you reach over SSH, without pairing them. In Settings, Machines, choose Add a machine, or run mpod machine add. These machines are reached from your computer, not through Mapier.
Control a machine's lines
On any paired machine:
| Command | What it does |
|---|---|
mpod link status | Paired or not, the connection to Mapier, open lines and uploads |
mpod link cut | Ends every remote line and refuses new ones |
mpod link allow | Allows control from the web again |
mpod link record | The local record of remote actions |
mpod link unpair | Ends every line and deletes this machine's keys |
On Linux, mpod link tray puts who is connected, and the switch that cuts every line, in your desktop's tray.