Proxmox FAQ

Q: I can't connect to CT/VM by ssh after install it A: check if sshd are running or not by using command:

// check sshd status
sudo systemctl status sshd
// if not running you can turn it on with command below
sudo systemctl start sshd

If you can connect but can't login as root with password, make sure to add permit login

// open sshd config
sudo nano /etc/ssh/sshd_config

// Change
// PermitRootLogin without-password
// to
// PermitRootLogin yes
// Remove the // before the PermitRootLogin, save the file, CTRL+X , Y , Enter

// Restart sshd services with command below
sudo systemctl restart sshd

Q: I can't connect my local machine from outside (i have my public ip setup already to the machine), I want to use 1 ip for all vm/ct. or vm can't connect to internet. A: Use port forwarding to make it possible.

Enable eth0 route localnet

triangle-exclamation

Create Firewall Script

circle-exclamation

Create Crontab

then add code below

circle-info

this firewall rule will be activated everytime your machine are restarted. also the logs are available on /root/firewall.log if you meet some problem.

Checking Active Rule

Deleting Rule without restarting machine

Add Rule without restarting machine

Q: unsupported Ubuntu version '24.04'

A: comment / disable enterprise repository and add the non-pve

Last updated