Commit f720978
Alade Yessoufou
Add security hardening command (Task #2)
Implement shipnode harden for basic server security:
- SSH hardening: optional port change, disable root login, disable password auth
- Firewall (UFW): auto-install if missing, allow SSH/80/443, deny rest
- Fail2ban: optional install with SSH protection config
- All changes are opt-in with clear prompts and rollback hints
- SSH config automatically backed up before changes1 parent ae4aa6f commit f720978
5 files changed
Lines changed: 483 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments