Skip to main content
Contents

Terminal

Send one command to several servers

Pro

The same apt update, or the same systemctl restart, on twelve machines, typed once.

By Lucas Russo, developer of SSHive · Updated

  1. Open SSH sessions to the servers concerned.
  2. The Broadcast to all SSH sessions button, or ⌘⇧B. An orange bar appears, with the number of sessions it covers.
  3. Type the command, then Return: it is sent and run in every connected SSH session.
  4. Esc closes the bar.
La barre de broadcast vers quatre sessions
The broadcast bar, sending to four sessions

Applies to SSHive 2.0.6 on Mac