Work on a remote machine like it’s your own computer
tomux is a free plugin for the Tabby terminal. Pick a server, and its terminals open as ordinary Tabby tabs that you rename, scroll and copy from as usual. Lose the connection or quit Tabby, and everything keeps running on the server. The tabs come back where you left them.
Your server, local tabs
- Server terminals are Tabby tabs. They sit next to your local tabs. Rename, reorder, scroll, select and copy as usual, and use Tabby’s tab hotkeys. Make tomux your default profile and
+opens another tab on the same server. - Nothing stops when you disconnect. Close the laptop, change networks, quit Tabby or let it crash: builds, logs, editors and agents keep running on the server.
- The tabs come back. When Tabby starts again, each tab reopens on the same terminal, with its history. Terminals opened on the server in the meantime appear as extra tabs.
- Tabby’s SSH, as it is. tomux connects through your Tabby SSH profile: its login, keys, jump hosts and host-key checks. The tabs of a host share one connection.
- SFTP and ports in the toolbar. Like an SSH tab, a tomux tab has Tabby’s toolbar. SFTP opens in the folder the tab’s shell is in, and port forwards apply to the host’s connection.
- Only tmux on the server. tomux runs tmux there, out of sight. You don’t need to know tmux, and nothing else is installed.
Closing and restoring
| You do | The terminal on the server |
|---|---|
| Close a tomux tab | Closed |
| Exit the shell in the tab | Gone; the tab closes |
| Close or quit Tabby, Tabby crashes, the network drops | Keeps running |
| Restart the tab | Keeps running; the restarted tab shows it again |
| Duplicate a tab, or split it | A new terminal is opened |
Tabby restores the tabs of its main window. Terminals whose tabs were in another Tabby window keep running, and open as extra tabs the next time their session connects.
Install
- In Tabby, open Settings → Plugins.
- Search for
tomuxand click Install. - Restart Tabby.
Tabby lists plugins from npm’s search index, so a new release can take a while to appear there. To run tomux from source instead, see Loading the plugin into Tabby from source.
Set up a server
- In Tabby, open Settings → Profiles & connections → New profile, and choose the template tomux: tmux session over SSH.
- Pick the SSH profile for the host and a session name (default
main). Session names cannot contain.or:. - Optional: choose this profile under Default profile for new tabs. Then
+and the new-tab hotkey open another tab on a server: the server of the tomux tab you are in, or this profile’s server when you are in another kind of tab.
What you need
- Tabby 1.0.238 or newer. Tabby runs on Windows, macOS and Linux.
- A Tabby SSH profile for the host.
- tmux 2.1 or newer on the host (3.x recommended). tomux does not install tmux.
Claude Code on a server
Run Claude Code, Codex or any long task on a remote machine in a tomux tab, close the laptop, and find it where you left it. A few settings make it feel local; the README has the details.
- Working or done, in the tab title. Inside tmux, Claude Code names the tab after its task but doesn’t show whether it is working. Hide tmux from it, and the title also gets a spinner while it works and
✳when it is done. On the host, in~/.bashrc:if [ -n "$TMUX" ]; then alias claude='env -u TMUX -u TMUX_PANE claude' fi - Get told when it needs you. Add
"preferredNotifChannel": "terminal_bell"to~/.claude/settings.jsonon the host, and set Settings → Terminal → Terminal bell to Audible in Tabby. The bell then rings for a tomux tab in the background too, and tabby-bell-indicator shows which tab rang. - Paste screenshots and files. With tabby-drop-n-paste, paste or drag a screenshot into the tab: it is uploaded to the host and its path typed into Claude Code.
- New line in the prompt: press
Ctrl+J. Tabby sendsShift+Enteras a plain Enter.
Already use tmux?
tomux works with the tmux you know. It runs tmux in control mode (tmux -CC), the way iTerm2’s tmux integration does, and shows each tmux window as a tab. A window you create in tmux, on this computer or another, opens as a tab. Renaming a window renames its tab, and the other way round. After Tabby restarts, the tabs come back with their history.
Each tab shows one tmux window. If a window has several panes, the tab shows the active pane and the others keep running. tomux remembers your tab order in each window’s @tomux-order option. More in How it works.
Make tomux even better
Two more Tabby plugins by the same author. Install them from Settings → Plugins.
- tabby-drop-n-paste: paste or drag screenshots, files and folders into a tomux tab. They are uploaded to the host over the tab’s SSH connection, and their paths are typed at the cursor, for example into Claude Code.
- tabby-bell-indicator: shows a bell icon on a tab that rang the bell, so you can see which tab needs you, for example Claude Code waiting in a background tab.
Limitations
- No split panes: a tab shows one tmux window, and tmux panes are not shown as Tabby splits.
- All tabs of one session share one size: the size of the focused tab.
- Opening the same session in two Tabby windows shows its terminals in both.
- When a tab is drawn again from tmux (after a restart, on Reconnect, or when the window’s active pane changes), some terminal settings a running program turned on, such as bracketed paste, are missing until the program sets them again.
Questions
Do I need to know tmux to use tomux?
No. tomux starts tmux on the server for you and shows each of its windows as a Tabby tab. You open, rename, scroll, copy from and close those tabs like local ones. tmux has to be installed on the server (2.1 or newer, 3.x recommended); tomux does not install it.
What happens when the connection drops or I quit Tabby?
Everything keeps running on the server. When Tabby starts again, the tomux tabs of its main window come back, each showing the same terminal with its history. A tab connects when it is first shown, as Tabby’s SSH tabs do. Terminals that were opened on the server in the meantime appear as extra tabs.
What does the server need?
An SSH login that a Tabby SSH profile can use, and tmux 2.1 or newer (3.x recommended). Nothing else is installed on the server.
Does it work with my SSH keys and jump hosts?
Yes. tomux connects through the Tabby SSH profile you pick, so it uses that profile’s login, keys, jump hosts and host-key checks. The tomux tabs of a host share its SSH connection.
Does closing a tab stop what runs in it?
Yes. Closing a tomux tab closes that terminal on the server, as closing a local tab ends its shell. Quitting Tabby, a crash or a dropped network does not: those terminals keep running and their tabs come back.
Can I split a tomux tab into panes?
No. Each tab shows one tmux window. If that window has several tmux panes, the tab shows the active one and the others keep running.
Is it free?
Yes. tomux is open source under the GPL-3.0 licence. The source is on GitHub, and so are bug reports and ideas.
More
- Tips: the folder as the tab title, Claude Code, and a UTF-8 locale on the host.
- How it works: titles, tab order, colours, the toolbar and restoring.
- Compare tomux with Windows Terminal, iTerm2, WezTerm, VS Code, tabby-tmux, Wave and Termius.
- Report a bug or suggest an idea on GitHub.