Can't login to containers w/ PVE 6


Active Member
Apr 6, 2019
California, US
Since upgrading to Proxmox 6 I can no longer login to new containers I have just created (although older containers I created using Proxmox 5.4 continue to work). I am performing these steps:
  • Create CT
  • Input hostname "login-test"
  • Provide a password "faceface1" and confirm the same
  • Don't enter SSH key
  • Provide template from my NFS share. I have tried Debian 10.0.1, Ubuntu 18.04, and Ubuntu 19.04
  • Select: Network - IPv4 DHCP, IPv6 DHCP
  • Check "Start after created"
  • Everything else is completely default
When the container starts I open an xterm console and enter "root" and then "faceface1" as the password and get the error "Login incorrect". I see these entries in /var/log/auth.log:
Jul 28 04:58:17 login-test login[333]: pam_unix(login:auth): authentication failure; logname=LOGIN uid=0 euid=0 tty=/dev/tty1 ruser= rhost=  user=root
Jul 28 04:58:20 login-test login[333]: FAILED LOGIN (1) on '/dev/tty1' FOR 'root', Authentication failure

I am able to enter
pct enter 104
from a host session to enter the container (this is how I got the logging above).

I have ALSO tried to add an SSH public key during container creation, but when I attempt to SSH into the container I just get prompted for a password (the key is ignored) and the login information is incorrect. Same outcome essentially.

Is anyone else hitting this?
could you verify that your /etc/shadow file inside the container contains a line for the root user that's not starting with "root:*:" ?
WOW I just created a new container to check the answer to your question and it worked perfectly and I can login. The only change I've made to Proxmox is activating a subscription and reverting my apt sources back to stock. I haven't even rebooted. I'm not sure what to say.

FWIW on this working container my /etc/shadow file does have a line for root that does not start with root:*:


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!