Show HN: Sshsync β CLI tool to run shell commands across multiple remote servers
Published on: 2025-07-04 06:10:29
sshsync β‘π
sshsync is a fast, minimal CLI tool to run shell commands across multiple remote servers via SSH. Easily target all servers or just a specific group, great for sysadmins, developers, and automation workflows.
IMPORTANT: sshsync uses asyncssh for SSH connections. If you use passphrase-protected SSH keys, you MUST have your ssh-agent running with the keys added via ssh-add. sshsync will rely on SSH agent forwarding to authenticate with protected keys. Throughout this documentation, whenever "host" is mentioned, it refers to the SSH alias defined by the Host directive in your ~/.ssh/config file, not the actual hostname ( HostName directive). sshsync uses these aliases for all operations.
Features β¨
π Run shell commands on all hosts or specific groups
or π Executes commands concurrently across servers
across servers π§ Group-based configuration for easy targeting
π Adjustable SSH timeout settings
π Push/pull files between local and remote hosts
between local and remote h
... Read full article.