rhctl (Remote Host Control) is a high-performance CLI tool for remote host management, enabling file transfers, script execution, and file patching via SSH. also including environment configuration bash or batch scripts.
What's New in v1.0.2 ✨
- Homebrew install support via personal tap (
brew install saidake/rhctl/rhctl). - Release CI now updates
saidake/homebrew-rhctlautomatically after publishing binaries.
Features ✨
- Execute one or more local Bash scripts on a remote host, either sequentially or concurrently.
- Upload local files or directories to a remote host based on a properties file mapping.
- Support for file patching on remote hosts.
- Logging and error reporting for remote operations.
- Optional sudo execution with proper safeguards.
Installation 🧰
Homebrew (macOS / Linux)
brew install saidake/rhctl/rhctlLinux (x86_64)
# Download
curl -LO https://github.com/saidake/rhctl/releases/download/v1.0.2/rhctl-v1.0.2-linux-x86_64
# Make executable
chmod +x rhctl-v1.0.2-linux-x86_64
# Move to /usr/local/bin
sudo mv rhctl-v1.0.2-linux-x86_64 /usr/local/bin/rhctlmacOS (x86_64)
# Download
curl -LO https://github.com/saidake/rhctl/releases/download/v1.0.2/rhctl-v1.0.2-macos-x86_64
# Make executable
chmod +x rhctl-v1.0.2-macos-x86_64
# Move to /usr/local/bin
sudo mv rhctl-v1.0.2-macos-x86_64 /usr/local/bin/rhctlmacOS (ARM64 / Apple Silicon)
# Download
curl -LO https://github.com/saidake/rhctl/releases/download/v1.0.2/rhctl-v1.0.2-macos-arm64
# Make executable
chmod +x rhctl-v1.0.2-macos-arm64
# Move to /usr/local/bin
sudo mv rhctl-v1.0.2-macos-arm64 /usr/local/bin/rhctl