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 sshdIf 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 sshdQ: 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
replace eth0 with your own public interface
Create Firewall Script
Please change the PUBLICIP and LOCALIP to your own! You can also change PUBLICIP to 0.0.0.0/0 Every port can be forwarded on each line of the scripts.
Create Crontab
then add code below
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