Skip to content
Supporting clients since 2024 · 15 years of IT experience
Docs menuBroadcast: one command, many hosts

Broadcast: one command, many hosts

Run a command on several SSH hosts at once and read every host's output and exit code side by side. Useful for checks, small fixes and finding the odd server out.

Updated · Describes CybexConnect 1.3.2

  1. Open Broadcast and pick hosts.
    Pick them one by one, or a whole group at a time.
  2. Type the command, or pick a snippet.
    For example uptime or df -h /.
  3. Run it.
    Output from each host appears in its own panel as it arrives, with the exit code at the end.

How it runs#

Each host gets its own connection and runs the command like ssh host 'command': no interactive terminal, so the output is plain text and the exit status is reported. Jump hosts are used where set.

  • Up to 8 hosts run at the same time; the rest wait their turn.
  • Each host has a time limit (60 seconds unless you change it). A host still running after that is stopped.
  • Output per host is kept up to 256 KB.
  • You can cancel a run, or Run again on this host for one that failed.

Safety checks#

  • If any of the picked hosts is a production host, you type production to confirm before anything runs.
  • A host whose key has changed since you last connected is skipped. Open a terminal to it and review the key first.

Still stuck?

Tell us what you tried and what you saw. The people who build CybexConnect answer support requests.