If root ssh access was not enabled at NSX-T appliance deployment time, root ssh will fails with "Access Denied" error.
Checking service ssh status with get service ssh shows Root Login Enabled and SSH enabled
VMware NSX-T Data Center 3.x
VMware NSX 4.1.x
The ssh was enabled, however the root was not allowed to use ssh. In order to allow ssh login with root account, it is necessary to run the enable root.login.sh and give the PermitRootLogin to Yes.
1.Log in to the NSX-T manager console as root,
2.Edit ssh config file:
3.Modify the Configuration:
4.Restart the ssh service:
Note: If root login still fails you may need to enable root login after restarting SSH