Hello everyone,
I have installed Proxmox VE yesterday and a VM. I can access to the shell of the VM inside PVE but I cant ssh from my desktop : "Permission denied (publickey)."
I don't know if it's relevant but cloud-init (and the "ssh public key" section so) is disabled.
I tried to put in /etc/network/interfaces
post-up iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 32768 -j DNAT --to 172.32.0.53:22
post-down iptables -t nat -D PREROUTING -i eth0 -p tcp --dport 32768 -j DNAT --to 172.32.0.53:22
But it was changing nothing.
Is there a special configuration to set in PVE ? An option to enable ?
Thks a lot by advance
EDIT : it works ! I don't know why I add a user maybe it is that ?
I have installed Proxmox VE yesterday and a VM. I can access to the shell of the VM inside PVE but I cant ssh from my desktop : "Permission denied (publickey)."
I don't know if it's relevant but cloud-init (and the "ssh public key" section so) is disabled.
I tried to put in /etc/network/interfaces
post-up iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 32768 -j DNAT --to 172.32.0.53:22
post-down iptables -t nat -D PREROUTING -i eth0 -p tcp --dport 32768 -j DNAT --to 172.32.0.53:22
But it was changing nothing.
Is there a special configuration to set in PVE ? An option to enable ?
Thks a lot by advance
EDIT : it works ! I don't know why I add a user maybe it is that ?
Last edited: