brewtools:ssh
Installation
SKILL.md
SSH Server Management
Manage remote Linux servers — connect, configure, deploy, administer with safety gates and persistent config.
Robustness Rules (MANDATORY — all phases)
Fail-Fast
| Rule | Applies to |
|---|---|
Every Bash call MUST end with && echo "OK ..." || echo "FAILED ..." |
ALL scripts |
On FAILED — stop phase, report error, do NOT retry same command blindly |
ALL phases |
SSH commands MUST use -o ConnectTimeout=10 -o BatchMode=yes |
ALL SSH calls |
| Max 2 retries per failed operation; after 2nd failure — report and stop | ALL phases |
| Non-zero script exit — read stderr, diagnose, fix root cause, retry ONCE | Scripts |