Commit Graph

3 Commits

Author SHA1 Message Date
Pratik Tripathy
22d6c03047 docs: reorganize and improve documentation
- Add SSH key management warnings and instructions
- Reorganize features and usage sections
- Update examples with consistent usernames
- Add post-installation steps
- Improve formatting and readability

chore(dockerfile): cleanup dockerfile formatting

- Remove extra newlines
- Consolidate package installation commands
- Update test command examples
2024-12-21 17:09:52 +05:30
Pratik Tripathy
e58d7058d4 feat: Redo major portion of the script
- Console log format simplified: OK, FAIL, WARN, INFO with colors
- Log file to contain everything else with timestamp
- User creation optional and only happens when -u <username> is provided
- SSH config: PubkeyAuthentication setting added
- Script now supports: debian, ubuntu, fedora & freebsd
- Service management fallbacks: service, systemctl, init.d
- UFW: enable ssh, http, https
- Fail2ban: WIP

feat(test): Docker file to test across all active debian, ubuntu & fedora dist

refactor(script): improve code organization and logging

- Group functions into helper and operations sections
- Order operations chronologically
- Enhance console log formatting and messages
- Update usage examples and comments
- Improve error handling and output logging
- Use darker color for credentials output for security
- Add shellcheck disable comments where necessary
2024-12-21 17:09:52 +05:30
Pratik Tripathy
1b1ab6379d feat(docker): Test script using docker
- README updated with docker instructions
2024-12-17 22:38:34 +05:30