A bare metal Proxmox VE installation should never be exposed to your local network without hardening. By following this guide, you will transition to the community repositories, secure SSH authentication with modern Ed25519 cryptography, and tune Linux kernel power profiles.
Step 1: Configure Free Community Repositories
Execute the following script to disable the enterprise repo and enable the community update channel:
# Disable commercial enterprise repo
sed -i 's/^deb/#deb/' /etc/apt/sources.list.d/pve-enterprise.list
# Add Proxmox VE No-Subscription repo
cat <> /etc/apt/sources.list
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
EOF
# Update package lists and upgrade system
apt update && apt dist-upgrade -y
Step 2: Enforce Ed25519 SSH Keys & Disable Passwords
Hardening SSH access prevents brute-force attempts from compromised LAN devices or Docker containers:
# Generate Ed25519 key on your management client:
ssh-keygen -t ed25519 -C "admin@homelab"
# Copy key to Proxmox host:
ssh-copy-id -i ~/.ssh/id_ed25519.pub root@192.168.1.10
# In /etc/ssh/sshd_config.d/hardening.conf on Proxmox:
PasswordAuthentication no
PermitRootLogin prohibit-password
X11Forwarding no
# Restart SSH service
systemctl restart ssh
Step 3: Energy Performance Preference Tuning
Ensure the Intel/AMD P-State scaling driver reduces CPU core frequencies during idle periods:
# Set energy performance bias to balance_power
echo "balance_power" | tee /sys/devices/system/cpu/cpu*/power/energy_perf_bias
Verified Hardware Tested in This Blueprint
Tested in our physical engineering lab for power consumption, thermal stability, and Linux driver compatibility.