Back to blog

Split panes and broadcast input: running the same command on five servers without a script

December 1, 2026 7 min read Kubexer Team
Split PanesBroadcast InputSSHMulti-host

A common job: check something on a handful of servers. Is the new config file there on all four web nodes? Did systemctl restart leave each one healthy? What does df -h say on every database replica? You can write a loop, reach for Ansible, or open five terminal windows and tile them by hand. Each works. None of them is pleasant when the job takes two minutes and you want to see the answers next to each other.

Kubexer Terminal handles this with two features that work together: split panes, which put several sessions in one tab, and broadcast input, which sends what you type to all of them. Both are Pro features.

How people do it today

  • tmux or screen on a jump host, with synchronize-panes. Powerful, but you need tmux on that host, you need the key bindings in your fingers, and every pane is an SSH hop from the same place.
  • A shell loop such as for h in web1 web2 web3; do ssh $h uptime; done. Fine for one-shot commands, poor for anything interactive, and output from each host scrolls past in a single stream.
  • Separate windows plus an OS-level input broadcaster. It works until a window loses focus at the wrong moment.

Splitting a tab

Open an SSH session to the first host. Then split it:

  • Split right: Cmd+D on macOS, Ctrl+Shift+E on Windows and Linux. The new pane sits beside the current one.
  • Split down: Cmd+Shift+D, or Ctrl+Shift+O. The new pane sits below.

The same actions are in the Split pane button in the terminal header and in the terminal's right-click menu. A plain split opens a new session to the same target as the focused pane: another SSH session to that host, or another local shell if you started from one.

To put a different machine in the new pane, use Split with…. A picker opens with three groups: Same as this pane, the shells on This computer, and every host in your unlocked vaults, grouped by vault. Type to filter, use Right or Down to pick the direction, and press Enter. The new pane joins the current tab even when the host comes from a different vault, so a tab can hold a production host from one vault next to a staging host from another. Locked vaults are not listed; the picker tells you how many it is hiding, so unlock the vault first if a host is missing.

Splits nest freely. Split right, then split each half down, and you have a 2×2 grid. Split one of those again and the layout keeps going, up to nine panes per tab. At that point the app says "A tab holds up to 9 panes." The limit is deliberate: past nine, panes stop being readable at ordinary window sizes.

Moving around

  • Click a pane to focus it, or use Cmd+Option+arrow (Alt+arrow on Windows and Linux). Unfocused panes are dimmed so you always know where your keystrokes go.
  • Drag a divider to resize. Double-click a divider to even out all the panes. No side can be squeezed below 5% of the space.
  • Cmd+Shift+Enter (Ctrl+Shift+Z) zooms the focused pane to fill the tab and back again.
  • Cmd+W (Ctrl+W) closes just the focused pane. Move pane to new tab in the right-click menu pulls it out into its own tab.

None of this restarts the other sessions. Splitting, resizing and closing leave every other pane connected exactly as it was.

Only terminal sessions split. SFTP browser and editor tabs do not.

Broadcast input

With two or more panes in a tab, press Cmd+Shift+B (Ctrl+Shift+B), click Broadcast input in the header, or choose Broadcast input to all panes from the right-click menu. Every receiving pane gets an amber frame and a Broadcast badge, and the tab shows a broadcast icon. From now on, what you type in the focused pane goes to all of them: keystrokes, pastes and inserted snippets.

A typical session looks like this:

# 4 panes: web1, web2, web3, web4 — broadcast on
sudo systemctl reload nginx
systemctl is-active nginx
tail -n 5 /var/log/nginx/error.log

Each pane runs the command on its own host and prints its own output, so a host that answers differently stands out immediately: the one pane showing failed instead of active.

Leaving a pane out

Often you want most panes, not all. Click a pane's Broadcast badge and it switches to Left out; click again to include it. The right-click menu has the same choice: Leave this pane out of broadcast and Include this pane in broadcast. A left-out pane neither sends nor receives broadcast input, so you can keep a monitoring pane running journalctl -f on one host while you type into the others.

What is not mirrored

Broadcast is about typing. Mouse events, focus changes and the terminal's own query replies are never copied to other panes, so a full-screen program in one pane cannot confuse the others with its control sequences. Text written by Kubexy or by an AI agent through the MCP server is not broadcast either.

Broadcast is scoped to one tab. Panes in other tabs are never affected. The state lives in memory: turning broadcast off clears every left-out mark, and closing a split down to a single pane ends broadcast.

Be careful with destructive commands

There is no per-keystroke confirmation, by design: it would make the feature useless. That means a mistyped rm goes to every pane at once. Two habits help:

  • Glance at the frames before pressing Enter. Amber means the pane will receive what you type.
  • Run a read-only command first (hostname, pwd) to confirm every pane is where you think it is.

If you find yourself broadcasting the same sequence every week, it is a sign it belongs in a script or a configuration management tool. Broadcast is for the interactive, look-at-the-answers work in between.

Without Pro

On the free plan, the split actions and the broadcast toggle carry a Pro badge and show what the feature does. If your plan lapses, panes that are already open stay open; only new splits are blocked, and you can always turn broadcast off.

Try it

Split panes and broadcast input are part of Pro in Kubexer Terminal, and they work in any trial. Open a host, press Cmd+D, pick a second host with Split with…, and press Cmd+Shift+B. If your hosts sit behind a bastion, set the jump chain on the host once and every pane uses it; see reaching hosts that only exist behind a bastion.