Skip to content

feat(cli): add secure-server command for firewall and SSH hardening#36

Merged
maheshbhatiya73 merged 1 commit into
mainfrom
dev
Jun 30, 2025
Merged

feat(cli): add secure-server command for firewall and SSH hardening#36
maheshbhatiya73 merged 1 commit into
mainfrom
dev

Conversation

@maheshbhatiya73
Copy link
Copy Markdown
Owner

  • 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

- 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
@maheshbhatiya73 maheshbhatiya73 merged commit f233cca into main Jun 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant