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