Skip to content

Instantly share code, notes, and snippets.

View nomo3919's full-sized avatar
🎯
Focusing

nomo3919 nomo3919

🎯
Focusing
  • Concept Place
View GitHub Profile
@nomo3919
nomo3919 / debian-init.sh
Last active April 19, 2026 00:21
debian-init-script
#!/bin/bash
# =============================================
# universal debian 13 server initial setup script
# run as root. ssh port change happens last
# =============================================
set -euo pipefail
# --- Root check ---
if [[ $EUID -ne 0 ]]; then