Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Interactive VPS Initialization and Hardening Script for AlmaLinux 9
# Exit on error
set -e
# Default values
DEFAULT_USER="admin"
DEFAULT_SSH_PORT="2233"