# Add SSH machines to Edith

> Add servers and other computers to Edith over SSH, see their health, terminals and files, and what Agents, Usage, Memory and Cleaner do with them.

- Canonical URL: https://getedith.pro/docs/machines
- Updated: 2026-12-03

The [Machines](https://getedith.pro/docs/extensions/ssh-machines) extension keeps a list of computers Edith can reach over SSH. Once a machine is on that list, Machines shows its health, terminals, files and containers, and several other extensions can work on it too.

## Add a machine

1. Install **Machines** from **Library** and open it. Your Mac is already on the list.
2. Press **Add machine**.
3. Choose **From SSH config** to pick a host you already set up in `~/.ssh/config`, or **Enter details** to type a **Display name**, **Address**, **Username** and **Port**.
4. Under **Sign in with**, choose **SSH agent**, **Key file** (with an optional passphrase) or **Password**.
5. Optionally open **More options** for **Sudo password** and **Sync clipboard with this machine**.
6. Press **Test connection** to check the address and sign-in, then press **Add machine**.

![The Machines page with an Add machine button, a summary of 4 of 4 machines online, CPU and memory charts, storage bars for each machine and a Needs attention card for a nearly full disk](shot:ext-machines)

Passwords and passphrases are stored in your login keychain, never in Edith's machine files or exported settings. A sudo password lets Edith run power actions and thermal profile changes. Without one, Edith tries passwordless sudo.

### From the terminal

```terminal
$ ed machines add box --host 198.51.100.4 --user pi
added box
  target   pi@198.51.100.4
  auth     SSH agent
$ ed machines add box --host 198.51.100.4 --user pi --key ~/.ssh/id_ed25519
$ printf '%s' "$PASS" | ed machines add box --host 198.51.100.4 --user pi --password-stdin
```

Secrets are read from stdin, so they never land in your shell history or a process listing. `--alias` records a host from your SSH config and `--mac` saves a MAC address for wake-on-LAN.

## Check which systems are supported

Edith detects macOS, Linux and Windows after SSH connects.

| What you can do                                           | macOS | Linux | Windows                                   |
| --------------------------------------------------------- | ----- | ----- | ----------------------------------------- |
| Terminal, port forwards, system facts and live metrics    | yes   | yes   | yes                                       |
| Browse and transfer files, processes, reboot and shutdown | yes   | yes   | yes                                       |
| Docker and Docker Compose                                 | yes   | yes   | yes, with Docker Desktop or Docker Engine |
| Service management                                        | no    | yes   | yes                                       |
| Brightness, audio and radio controls                      | yes   | yes   | no                                        |
| Thermal profiles                                          | no    | yes   | no                                        |

Windows needs the built-in OpenSSH Server and Windows PowerShell 5.1 or newer.

## What Machines shows for each machine

Select a machine to see CPU and memory history, storage, temperatures, fans and uptime, a process list, terminal tabs, a file browser, Docker containers and Compose projects, saved commands and port forwards, and restart, shutdown and wake-on-LAN controls. Command-click a machine to open it in its own window.

Right-click a machine for **Open in new window**, **Edit…**, **Connect** or **Disconnect**, and **Remove**. Removing a machine only forgets Edith's connection details, forwards, snippets and saved secrets. Nothing on the machine changes, and its containers keep running.

## Run commands on a machine

Open a terminal tab on the machine's page to work on it interactively. For scripts, name a machine as the first word after `ed` and the rest of the line runs there:

```sh
ed box uptime
ed box docker compose up -d
ed box 'ls -la /srv | head'
```

That is shorthand for `ed machines exec box -- uptime`. The remote command's output and exit code come back unchanged, so it works in scripts and pipelines. `ed box` on its own shows the machine.

Other everyday commands:

```sh
ed machines ls
ed machines show box
ed machines metrics box --follow
ed machines connect box
ed machines rm box --yes
```

Commands share one SSH connection with the app and keep it open for ten idle minutes, so repeated commands are fast.

## What other extensions do with your machines

| Extension                                   | What it does on a machine                                                                                                                |
| ------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| [Agents](https://getedith.pro/docs/agents/agents)               | Shows agents running on the machine on the same board as local ones, and starts new ones there. The machine needs its own copy of herdr. |
| [Crew](https://getedith.pro/docs/agents/crew)                   | Beta. Copies its agent engine to macOS and Linux machines and runs agents there that survive a dropped connection.                       |
| [Usage](https://getedith.pro/docs/extensions/claude-code-usage) | Collects agent usage from the machine over SSH and adds it to your totals. Manage it with `ed usage machines`.                           |
| [Code Review](https://getedith.pro/docs/extensions/code-review) | Opens review workspaces on a configured machine.                                                                                         |
| [Memory](https://getedith.pro/docs/extensions/private-memory)   | Runs its store on this Mac or on a machine you choose.                                                                                   |
| [Cleaner](https://getedith.pro/docs/extensions/cleaner)         | Scans and cleans saved machines like this Mac with `ed cleaner machines`.                                                                |

See the [agent docs](https://getedith.pro/docs/agents) for running coding agents on your machines.

## Related

- [`ed machines`](https://getedith.pro/docs/cli/machines) reference, with forwards, snippets, mounts and the machine record.
- [Running commands on a machine](https://getedith.pro/docs/cli/machines-remote): the shorthand in full.
- [`ed machines docker`](https://getedith.pro/docs/cli/machines-docker), [`ed machines files`](https://getedith.pro/docs/cli/machines-files) and [`ed machines power`](https://getedith.pro/docs/cli/machines-power).

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
