Tutorial· About 15 minutes
Manage a server from your Mac with Edith
When you finish, a server you can reach over SSH is in Edith: you can see its CPU, memory and disk, get warned when it goes down or fills up, open a terminal, move files, manage its Docker containers, and reach its services from your Mac. You need Edith installed and SSH access to the server, with a key in your SSH agent, a key file or a password. Nothing is installed on the server. For the bigger picture, see Manage servers from your Mac.
Install Machines
Open Library, find Machines under Agents & Terminal, and press Install. Then open Machines from the sidebar. Your Mac is already listed as This Mac.
Add the server
- Press Add machine at the top of the Machines page.
- 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. - Under Sign in with, pick SSH agent, Key file (with an optional passphrase) or Password.
- Press Test connection to check the address and sign-in.
- Press Add machine.
Passwords and passphrases go to your login keychain, never into Edith's machine files or exported settings. More options adds clipboard sync and a sudo password for admin actions.
Edith detects whether the machine runs macOS, Linux or Windows once SSH connects. Machines lists what works on each.
Watch its health
The Machines page opens on All machines: CPU and memory across every machine, storage per machine, and a Needs attention list, such as a disk that is nearly full.

Select the server's chip at the top of the page for its own view. The Overview tab shows CPU and memory history, storage, temperatures, fans and uptime, and Processes lists what is running.
Machines notifies you when a machine stops responding and when a disk reaches 90%. Change both in Machines settings, opened with the Settings button at the top right of the page: Notify when a machine stops responding, Notify when a disk is nearly full and Disk alert at.
Open a terminal
Select the server and open the Terminal tab. To see several machines side by side, select Workspace and arrange terminals, files and logs in split panes. To give a machine its own window, right-click its chip and choose Open in new window.
Browse and move files
The server's Files tab is a file browser for the remote machine. To work with the server's disk in Finder, open the Tools tab and press Mount under Disk. Mounting needs sshfs, and the tab offers to install it.
Manage Docker
If Docker runs on the server, the server's view has a Docker tab with its containers and Compose projects. Right-click a container for Open details, Stop or Start, Restart, Shell and Remove. Open details shows the container's Logs, Inspect, Stats, Processes and Files.
Reach a service on the server
Forward a port to reach a web app or database on the server from your Mac:
- Open the server's Tools tab.
- Under Port forwards, enter a Local port, the Remote host and the Remote port, then press Add.
- Press Open on the forward, or visit
http://localhost:<local port>on your Mac.
The same tab has Snippets for commands you run often and Services to restart system services.
Remove the server when you are done
Right-click the server's chip and choose Remove. Removing a machine only forgets Edith's connection details, forwards, snippets and saved secrets. Nothing on the server changes, and its containers keep running.
From the terminal
Everything above has an ed machines command. You can also name the machine as the first word and run the rest of the line there:
ed machines add box --host 198.51.100.4 --user pied box uptimeed box systemctl status nginxed machines files get box /var/log/sysloged machines docker restart box webed machines forwards add box --local 8080 --remote 80 --title webed box uptime is shorthand for ed machines exec box -- uptime. The remote command's output and exit code come back unchanged, so it works in scripts. Commands that delete things, such as ed machines rm and ed machines docker prune, only preview until you add --yes.
Next steps
- Machines for supported systems and what other extensions do with your machines.
- Free disk space: Cleaner cleans servers too.
ed machines,ed machines dockeranded machines filesreference.- Agent docs for running coding agents on your servers.
