Access denied tryng to login via ssh into a new ubuntu14 vzcontainer

raid

Member
Jul 25, 2010
102
0
16
Italy
Once installed succesfully Ubuntu 14 LTS, I 'm not able to login via ssh, "access denied", of course I'm sure I'm using the right password.
I also changed succesfully the password from the main node
> vzctl enter 100
> passwd ....

but still I'm not able to login via SSH into the container 100 using the new password
"access denied"
any tips?
 
Simply adding a password for root is not enough for Ubuntu 14.04 Server.

You also need to edit /etc/ssh/sshd_config, and comment out the following line:

PermitRootLogin without-password

Just below it, add the following line:

PermitRootLogin yes

Then restart SSH:

service ssh restart
 

About

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!