Commit 106c746
committed
feat(cli): add secure-server command for firewall and SSH hardening
- Introduced `secure-server` CLI command to automate basic server security
- Enables UFW and allows specified ports via --allow-ports
- Disables SSH root login with --disable-root-login
- Enforces SSH key-based auth with --enforce-ssh-key-only
- Restarts SSH service after changes
- Skips existing UFW rules cleanly1 parent 171901a commit 106c746
File tree
55 files changed
+1933
-1782
lines changed- cmd
- domain
- email
- firewall
- logs
- security
- server
- ssl
- user
- internal
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
55 files changed
+1933
-1782
lines changedThis file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments