Update setup_harden_debian_ubuntu.sh

This commit is contained in:
buildplan
2025-06-28 17:50:50 +01:00
committed by GitHub
parent ed1075b8c7
commit 0d5c96169d

View File

@@ -1,7 +1,7 @@
#!/bin/bash
# Debian 12 and Ubuntu Server Hardening Interactive Script
# Version: 4-rc3 | 2025-06-28
# Version: 4-rc4 | 2025-06-28
# Changelog:
# - v4.0: Generalized backup configuration to support any rsync-compatible SSH destination, renamed setup_hetzner_backup to setup_backup.
# - v4.0: Added Hetzner Storage Box backup configuration with root SSH key automation, cron job scheduling, ntfy/Discord notifications, and exclude file defaults.
@@ -83,7 +83,7 @@ print_header() {
echo -e "${CYAN}╔═════════════════════════════════════════════════════════════════╗${NC}"
echo -e "${CYAN}║ ║${NC}"
echo -e "${CYAN}║ DEBIAN/UBUNTU SERVER SETUP AND HARDENING SCRIPT ║${NC}"
echo -e "${CYAN}║ v4-rc3 | 2025-06-28 ║${NC}"
echo -e "${CYAN}║ v4-rc4 | 2025-06-28 ║${NC}"
echo -e "${CYAN}║ ║${NC}"
echo -e "${CYAN}╚═════════════════════════════════════════════════════════════════╝${NC}"
echo
@@ -1388,7 +1388,6 @@ final_cleanup() {
log "Final system cleanup completed."
}
```bash
generate_summary() {
print_section "Setup Complete!"
print_info "Checking critical services..."