Story Details

  • Show HN: Sshsync – CLI tool to run shell commands across multiple remote servers

    Posted: 2025-05-18 19:10:29

    Sshsync is a command-line tool that allows users to efficiently execute shell commands across numerous remote servers concurrently. It simplifies the process of managing and interacting with multiple servers by providing a streamlined way to run commands and synchronize actions, eliminating the need for repetitive individual SSH connections. Sshsync supports various features, including specifying servers via a config file or command-line arguments, setting per-host environment variables, and controlling concurrency for optimized performance. It aims to improve workflow efficiency for system administrators and developers working with distributed systems.

    Summary of Comments ( 44 )
    https://news.ycombinator.com/item?id=44023634

    HN users generally praised sshsync for its simplicity and usefulness, particularly for managing multiple servers. Several commenters favorably compared it to pssh and mussh, noting sshsync's cleaner output and easier configuration. Some suggested potential improvements, like adding support for cascading SSH connections and improved error handling with specific exit codes. One user pointed out a potential security concern with storing server credentials directly in the configuration file, recommending the use of SSH keys instead. The overall sentiment was positive, with many acknowledging the tool's value for sysadmins and developers.