| name | gopssh |
| description | Safely inspect and run commands on multiple SSH targets with gopssh. |
gopssh safe workflow
- Confirm installation with
command -v gopssh.
- Run
gopssh --json doctor first and inspect every failed check.
- Validate the target file with
gopssh hosts validate --file <path>.
- Preview the exact plan with
gopssh run --dry-run ....
- Prefer JSON for automation and parse stdout separately from stderr.
- Do not run restart, delete, update, shutdown, or other destructive remote
commands unless the user explicitly requested that operation and target scope.
Read-only examples:
gopssh --json doctor --hosts-file hosts.txt
gopssh hosts validate --strict --file hosts.txt
gopssh run --dry-run --hosts-file hosts.txt -- uname -a
gopssh run --json --hosts-file hosts.txt -- df -h