When trying to SSH into the Usage Meter appliance as user root, the below error is observed
Access DeniedThe same password works on the VM console and the VAMI page
VCF Usage Meter 9.0
The PermitRootLogin parameter on the appliance is set to no or left blank.
To resolve this issue, follow the below steps:
vi /etc/ssh/sshd_configPermitRootLoginIf the root account is locked, follow the below steps to unlock it
In the vSphere Web Client, restart the guest operating system of the vCloud Usage Meter appliance.
Click the console and wait for the Photon OS splash screen to appear.
Press e to go to the GNU GRUB boot menu editor. The GNU GRUB menu remains on the screen for several seconds before it starts the boot sequence.
Use the arrow keys to go to the line that begins with linux and append the rw init=/bin/bash string at the end of the line.
To boot the system, press Ctrl+X or F10.
faillock --reset --user root