shmux
« Back to VersTracker
Description:
Execute the same command on many hosts in parallel
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Devops
Tags: ssh parallel automation sysadmin remote-execution devops
Install: brew install shmux
About:
Shmux is a command-line tool designed to execute the same command across multiple remote hosts simultaneously. It leverages SSH connections in parallel to significantly speed up administrative tasks and deployments. The tool provides interactive output and handles connection failures gracefully, making it ideal for managing large server fleets.
Key Features:
  • Parallel execution across multiple hosts via SSH
  • Interactive, color-coded output for easy monitoring
  • Automatic handling of connection failures and timeouts
  • Support for host groups and dynamic host lists
  • Detailed logging and result reporting
Use Cases:
  • Deploying code updates or configuration changes across production servers
  • Gathering system metrics (e.g., disk usage, load) from an entire cluster
  • Running emergency security patches or scripts on multiple machines at once
Alternatives:
  • Ansible – More powerful and idempotent, but heavier and requires more setup
  • PDSH – Lighter and simpler, but lacks Shmux's interactive output and robust error handling
  • Parallel SSH (pssh) – Similar parallel execution, but Shmux offers a more user-friendly interactive interface
Version History
Detected Version Rev Change Commit
Sep 15, 2025 10:23am 0 VERSION_BUMP 7f6677e0
Sep 14, 2024 6:29pm 0 VERSION_BUMP 001ff13e