Skip to main content
Local attach connects a second terminal to the host PTY on 127.0.0.1. Traffic never leaves the machine and never uses the Fly relay.

Before you attach

  1. Install the CLI.
  2. Run wrapper share or wrapper run -- <cmd> (does not patch your shell config).
  3. Confirm a live session:
You should see sessionId, pid, and port.

Attach

Default picker / latest session:
Target a specific session:
Defaults:

How local security works

  • The host WebSocket listens only on loopback.
  • Each session generates a random 256-bit token.
  • The token is stored in the owner’s session registry under restrictive file modes and required as ?token= on every local connection.
  • wrapper attach reads that registry, so only your OS user (or root) can join.
Processes running as the same OS account remain inside the local trust boundary. See Security and privacy.

Detach without ending the host

In the viewer, press Ctrl+\ then d. The host shell keeps running until the inner shell exits.

Common failures

Debug with:
Last modified on September 11, 2026