VMware Cloud Community
Akopylov
Commander
Commander

SSH root access denied while SSH for other administrative user is granted

Good day. HP custom ESXi 5.5u3.

It was ok with SSH access for root user until recently. But then I have created other administrative user (granted him role "Administrator" for the host) and set "no access" permissions to root user for some vms BUT not for the host. Now other user can login to ESXi via SSH with no problem and root is getting message "access denied", however root still can login to ESXi via viclient. If I set back root permissions to "Administrator" for all vms, then root can login to ESXi via SSH again.

auth.log:

2016-03-14T04:35:48Z sshd[4350907]: pam_access(sshd:auth): access denied for user `root' from `x.x.x.x'

sshd_config:

PermitRootLogin yes

Look at the screenshot

Any thoughts?

Reply
0 Kudos
0 Replies