From 5d48f0f35dacbb7a37bfed82107470357a8e105b Mon Sep 17 00:00:00 2001 From: buildplan Date: Fri, 17 Oct 2025 22:28:10 +0100 Subject: [PATCH] Improved SSH rollback --- du_setup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/du_setup.sh b/du_setup.sh index 91196cb..4b815d9 100644 --- a/du_setup.sh +++ b/du_setup.sh @@ -1,11 +1,12 @@ #!/bin/bash # Debian and Ubuntu Server Hardening Interactive Script -# Version: 0.70 | 2025-10-20 +# Version: 0.70 | 2025-10-18 # Changelog: # - v0.70: Option to remove cloud VPS provider packages (like cloud-init). # New operational modes: --cleanup-preview, --cleanup-only, --skip-cleanup. # Add help and usage instructions with --help flag. +# Improve SSH port validation and rollback logic. # - v0.69: Ensure .ssh directory ownership is set for new user. # - v0.68: Enable UFW IPv6 support if available # - v0.67: Do not log taiscale auth key in log file @@ -222,7 +223,7 @@ print_header() { printf '%s\n' "${CYAN}╔═════════════════════════════════════════════════════════════════╗${NC}" printf '%s\n' "${CYAN}║ ║${NC}" printf '%s\n' "${CYAN}║ DEBIAN/UBUNTU SERVER SETUP AND HARDENING SCRIPT ║${NC}" - printf '%s\n' "${CYAN}║ v0.70 | 2025-10-20 ║${NC}" + printf '%s\n' "${CYAN}║ v0.70 | 2025-10-18 ║${NC}" printf '%s\n' "${CYAN}║ ║${NC}" printf '%s\n' "${CYAN}╚═════════════════════════════════════════════════════════════════╝${NC}" printf '\n'