After installing and setup VMware Photon OS in my lab on VM. While doing remote SSH to the Photon OS, my root user login was failing after providing correct password multiple times. In the last it was showing Too many authentication failures.
As remote SSH root login attempt was failing, I thought root password I was provided is incorrect. but when tried directly it on VM console, it logged-in in the first attempt.
Resolution of this issue is PermitRootLogin need to set to yes by editing file /etc/ssh/sshd_config.
Once sshd_config file is configured, run below command to restart sshd daemon service, to take effect of the changes.
systemctl restart sshd
Test the SSH connection to Photon OS remotely now. As shown in the below screenshot it will be successful.
Useful Articles
Resetting root password in VMware vCenter Server Appliance
How to reset vCenter Server SSO [email protected] password
vCenter Server SSH received disconnect Too many authentication failures
vCenter Server Public Key Authentication configuration SSH error received disconnect Too many authentication failures
VMware vCenter server vcsa Setting IP IPv6 configuration failed, IP configuration not allowed
PowerCLI The SSL connection could not be established see inner exception
PowerCLi Connect-VIServer could not connect using the requested protocol
VMware vCenter Server Management Exception in invoking authentication handler user password expired
vCenter ui sorry this website doesn't exist 404 not found
Unable to save IP settings Install Stage 2 Set up vCenter Server configuration
VMware vCenter server Error no healthy upstream
VMware PowerCLI Connect-VIserver Could not connect using the requested protocol
VMware PowerCLI The remote server returned an error: (407) Proxy Authentication Required
VMware PowerCLI Connect-VIServer Object reference not set to an instance of an object
VMware PowerCLI esxcli namespace command elements empty no output