Skip to content

Commit 106c746

Browse files
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 cleanly
1 parent 171901a commit 106c746

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 changed

cmd/backup_domain.go

Lines changed: 0 additions & 85 deletions
This file was deleted.

cmd/check_port.go

Lines changed: 0 additions & 50 deletions
This file was deleted.

cmd/clone_domain.go

Lines changed: 0 additions & 98 deletions
This file was deleted.

cmd/delete_user.go

Lines changed: 0 additions & 56 deletions
This file was deleted.

cmd/disable_firewall.go

Lines changed: 0 additions & 58 deletions
This file was deleted.

0 commit comments

Comments
 (0)