Your first connection
Name your account. Find your machine. Open a shell.
Sign into an account
tailmux login personalOpen the printed URL and sign into the intended Tailscale account. Tailmux registers a node named tailmux-personal and prints the connected tailnet. Check that name before continuing.
login creates your config automatically. There is no separate initialization step.
Add another account
tailmux login workChoose your work account in the browser. Both identities can stay connected at once; neither changes your system Tailscale login.
Discover your hosts
tailmux hostsThe list shows visible peers, their profile, address, and online state. A target looks like personal/devbox or work/buildbox. These are examples; use your actual hostnames.
Check the connection
tailmux doctor personal/devbox
tailmux ssh personal/devbox hostnamedoctor checks the host's SSH TCP port. The second command verifies SSH authentication by running hostname remotely.
Keep a session running
With Herdr installed on the remote host:
tailmux herdr attach personal/devboxDetach with Ctrl+B, then Q. Run the same command to reconnect to the agents session.
Save your usual machines
Direct connections do not need saved host entries. Save one when you want SSH overrides or want it included in --all operations:
tailmux hosts add personal/devbox --user developer
tailmux hosts add work/buildbox --user developer
tailmux doctor --all
tailmux herdr sessions --allThe last command lists sessions on saved hosts. It does not attempt SSH connections to every peer on your tailnets.
Open a terminal with a box picker
Install fzf and tmux or Zellij locally, plus tmux remotely:
tailmux terminal personal/devbox
tailmux terminal --backend zellij work/buildbox
tailmux terminal --default zellijThe last command saves a default without launching. Alt+B opens the picker; Zellij also supports Ctrl+B in normal mode or F2 when unlocked. With tmux, Ctrl+B then B also opens it. See terminal shortcuts and persistence.
Open your remote development server
With an application listening on remote port 3000:
tailmux forward personal/devbox 3000 --name devbox.localhost
tailmux forward work/buildbox 3000 --name buildbox.localhost
tailmux forwardsOpen http://devbox.localhost:3000 or http://buildbox.localhost:3000. Names share the same local port. Omit --name for raw TCP at localhost:3000; use 3000-3005 for a range. Custom .local names need a loopback DNS or hosts-file entry. Named mode rewrites direct localhost redirects, but OAuth callback allowlists and HTTPS requirements may still need application configuration. Stop a group with tailmux unforward <id>. See forwarding.
Bring both boxes into one Herdr view
With Herdr installed locally and remotely:
tailmux herdr open personal/devbox work/buildboxUse the local Herdr workspace picker to switch machines. See one view, multiple boxes.