By default root user have ssh access to esx host with all the privilege
We can follow below steps to disable root ssh login.
Ssh to esx host using root account
Change directory to etc/ssh
Using vi editor open sshd_config fileChange “PermitRootLogin”parameter to no. Save & exit from text file