Repository navigation
v1.0.3
rhctl (Remote Host Control) is a high-performance CLI tool for remote host management, enabling file transfers, script execution, and file patching via SSH, including environment configuration bash or batch scripts.
What's New in v1.0.3 ✨
- NATS JetStream
install.sh/configure.shscripts (idempotent install; remote listen + firewall + connection URL). - PostgreSQL
configure.sh,execute-sql.sh, andlimit-remote-ips.sh(remote access, credentials, SQL runner). - Script CLI args via
--script(path plus optional flags); clearer skip vs overwrite re-run contracts. - Remote execute stream logging: append-only CR progress snapshots (every 30s) without clearing prior lines; SIGPIPE fix.
- Project relicense to Apache-2.0.
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.3/rhctl-v1.0.3-linux-x86_64
# Make executable
chmod +x rhctl-v1.0.3-linux-x86_64
# Move to /usr/local/bin
sudo mv rhctl-v1.0.3-linux-x86_64 /usr/local/bin/rhctlmacOS (x86_64)
# Download
curl -LO https://github.com/saidake/rhctl/releases/download/v1.0.3/rhctl-v1.0.3-macos-x86_64
# Make executable
chmod +x rhctl-v1.0.3-macos-x86_64
# Move to /usr/local/bin
sudo mv rhctl-v1.0.3-macos-x86_64 /usr/local/bin/rhctlmacOS (ARM64 / Apple Silicon)
# Download
curl -LO https://github.com/saidake/rhctl/releases/download/v1.0.3/rhctl-v1.0.3-macos-arm64
# Make executable
chmod +x rhctl-v1.0.3-macos-arm64
# Move to /usr/local/bin
sudo mv rhctl-v1.0.3-macos-arm64 /usr/local/bin/rhctl