feat: add optional known_hosts backup control to sshrm

This commit is contained in:
2026-04-27 22:21:30 +02:00
parent 967b246f4c
commit e3f142bbb6
2 changed files with 23 additions and 2 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ description: SSHRM project conventions
- Prefer minimal, focused changes that do not alter the intent of the existing scripts, unless the script behavior is intentionally updated.
- Maintain `.continue/rules/project.md` whenever project conventions or script behavior change.
- `sshrm` is implemented as a small Bash script with helper functions, while preserving host and line-number removal behavior.
- `sshrm` should print a short usage line, support `-h`/`--help`, and fail clearly on missing or invalid line-number input.
- `sshrm` should print a short usage line, support `-h`/`--help`, fail clearly on missing or invalid line-number input, and may support a dedicated `--no-backup` option with a `known_hosts.sshrm.bak` backup file.
# Project identity
- Main script: `sshrm`