Skip to main content
Experimental: Remote sessions are off by default. In the mux, open menu > settings > experimental and turn on other machines. Each machine needs F[no] 0.4.6 for the remote sessions and Fleet tab actions described here. Version 0.4.5 does not include these features.
The sideline can show every machine on the fleet map. A remote row is a session that runs on another machine. Open it from the sideline, the mux panel that lists sessions. You can read its screen and type to it without leaving your mux. A portal is a window onto a session you select. It keeps its place while you change which session it shows. The screenshots show a two-machine example.
Experimental settings with other machines checked and fleet map read every 15s beside it

Connect each machine to the shared store

Ask your agent on each machine:

What the agent runs

Each machine needs F[no] with remote-session support and a running F[no] daemon. Each daemon publishes its machine and sessions to the shared store every 60 seconds. The shared store is one libSQL primary on a private network, such as Tailscale. If no primary runs yet, set one up first: see Run one fleet across machines. Each machine must reach it. Each machine’s global ~/.fno/config.toml must set store.remote_url to that primary’s URL. A project config cannot set this key. If the primary requires authentication, set store.remote_token on each machine. The token can differ between machines. store.share_backlog is a separate option. You do not need it to see remote rows. The agent checks the fleet map on each machine:
The result must list each machine you want to use. Check that the host you want to open has a session. If it says fleet map needs store.remote_url: this machine shows alone, check the global config. If a machine reads offline, check its daemon and connection to the primary. If a remote machine appears but has no session, start one there with Run a fleet. Opening a remote row also needs SSH access from this machine to the host named in the fleet map. The remote SSH shell must find fno on its PATH. Configure SSH for that host before you open its row. The shared store discovers sessions. SSH carries the terminal screen and input after you open one.

Find the remote row

  1. In your terminal, start the mux with fno mux.
  2. Open menu > settings > experimental. Turn on other machines.
  3. Return to the sideline. If the sideline is hidden, press Ctrl+B, then b.
  4. Find the header for the machine you want to use. This machine appears first. Each header shows the host, ready or offline, and the age of its newest report.
  5. Find the session under that machine’s project or workspace. To change the grouping, press Ctrl+B, then W.
The machine layer appears only after the fleet map contains at least two machines. The mux reads that map every 15 seconds while other machines is on. Rows group by machine first. The workspace grouping puts remote rows under their workspace. If the fleet map has no workspace for a row, it uses the project. Workers can nest under their parent session. Other groupings include lead, directory, status, harness, and none. Changing the grouping keeps the machine headers. The row shows its session name without repeating the host already shown in its machine header. A picker outside that header uses name@host. These keys use the built-in defaults. Mux keys covers key presets. In F[no] 0.4.6, press Ctrl+B, then ?, for the focused view’s footer grid. Press ***** without the prefix for the full keybindings table.
Sideline with mini-b and studio-a machine headers, ready states, report ages, and session groups

Open and drive the session

  1. Press Ctrl+B, then w to select a sideline row.
  2. Use the arrow keys to select the remote row.
  3. Choose where to open it. Press Enter to use portal 0, replacing the session that portal shows. Clicking the row does the same.
  4. For a new portal instead, press P in the row selector, then Enter in the portal picker. You can also right-click the row and choose Open in new portal.
  5. Click inside the opened pane. Check the pane title. It reads name@host, with a ⇄ symbol. Type into that pane to drive the remote session.
If a portal already shows that session, every open action focuses that portal, including Open in new portal. F[no] keeps one viewer per session. Closing the portal closes the connection. The session keeps running on its host. The message band in the portal paints its text over ssh, in the band colors the mux themes choose for your harness.
Note: The 0.4.7 release and the 0.4.8rc1 and 0.4.8rc2 pre-releases paint the band over ssh as a solid block, with the words invisible. A build after 0.4.8rc2 sets the terminal’s truecolor flag on the attach that runs on the far machine, so the words read again.
Remote row menu for wren@studio-a with Open, Open in new portal, Peek, and Mail
Remote session open with wren@studio-a in the pane title and an echo of text typed through the mux

Peek, view, or spawn from the Fleet tab

The Fleet tab uses SSH to act on another machine. Complete the shared-store and SSH setup first. A seat is an agent session listed on that tab.
  1. In the mux, press Ctrl+b, release it, then press Shift+g to open the org board.
  2. Use the left or right arrow to select Fleet in the board’s tabs. Use j or k to select a machine or session. Press Enter to expand a machine or group.
  3. To peek at a remote session’s last 40 transcript records, select its row and press Space. Press Esc to close the peek page.
  4. To follow that session, select its row and press Shift+p. A local pane follows the transcript without sending input.
  5. To start a worker on a machine, select its machine, lead, or session row. Press s, type the worker’s task, then press Enter.
For different bindings, check the live keybindings table for org-view. The follow pane only reads the transcript. To type to the session, open a portal from the sideline. A new worker uses the selected session’s directory. Without a selected session, it uses the first session on that machine that reports a directory. If no session reports one, the board refuses and names the command to use with an explicit directory. A stale machine report blocks these actions. Check its daemon and shared-store connection, then wait for a fresh report. A failed SSH connection shows its error. Only one action runs at a time. The board refuses to spawn on a machine with a different stated owner. If the machine takes no work, the prompt warns you, but a task you submit still starts. The x key stops local sessions only. On a remote row, it names the stop command to run on that host.

Restart an older mux server

Ask your agent:

What the agent runs

An updated binary can still connect to an older running server. Each machine needs a build with remote-session support. Each machine’s running mux server must also support the feature. The agent lists servers on the affected machine:
It uses the affected server’s name with fno mux kill-server <MUX_NAME>. Here, <MUX_NAME> is the name from that list. The command refuses while live unkept panes exist, because ending that server also ends those panes. The agent reports that refusal for your decision. After the agent stops the server, run fno mux in your terminal on the affected machine. For a remote host, open a terminal on that host for this step. Then reopen the remote row from your local sideline. Use F[no] 0.4.6 on both machines for these controls.

Next steps