6.8.12-5-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-5 (2024-12-03T10:26Z) x86_64
SSH in LXC container whether as root or user without problems.
But in VM I can only log in to SSH as a user.
In sshd_config I have removed # and changed it to:
permitrootlogin yes
Yes, I know that logging in as root should be disabled for security reasons, but I'm curios with the principle of why this doesn't work in VM, but works with LXC.
Tried latest LTS of Ubuntu Server, desktop, debian images.
SSH in LXC container whether as root or user without problems.
But in VM I can only log in to SSH as a user.
In sshd_config I have removed # and changed it to:
permitrootlogin yes
Yes, I know that logging in as root should be disabled for security reasons, but I'm curios with the principle of why this doesn't work in VM, but works with LXC.
Tried latest LTS of Ubuntu Server, desktop, debian images.