get service ssh shows root login value enabled and the SSH "service state" as running.PermitRootLogin entry is commented out in the /etc/ssh/sshd_config file on the affected NSX appliance, as in the following screenshot:grep -i passwordauthentication /etc/ssh/sshd_configPasswordAuthentication yesStarting with NSX 4.2.x, the underlying SSH daemon strictly enforces the /etc/ssh/sshd_config directives. The legacy management-plane toggle for 'root-login' no longer overrides the PermitRootLogin directive if it is explicitly set to prohibit-password or commented out."
This is a known issue impacting VMware NSX.
To workaround the issue, apply the following steps
clear ssh root-loginset ssh root-loginAlso refer to (KB 324233) Enable ssh root access for NSX appliances