fix: reject extra args and harden sshrm error handling

This commit is contained in:
2026-04-27 22:33:17 +02:00
parent c5a52e2d41
commit 6026d7514b
3 changed files with 17 additions and 3 deletions
+1
View File
@@ -29,6 +29,7 @@ sshrm 12
## Notes
- Line numbers must be positive integers.
- Extra arguments are rejected.
- The script edits `~/.ssh/known_hosts`.
- Keep a backup if you need to recover entries.