Enable SSH on ESXi
Access the console of the ESXi server and logon. And enter Technical Support mode. To enter Technical support mode do the following:
type UNSUPPORTED and press return.
When you are logged on to the console use the following command
Look for the following line and remove the # from the line
#ssh stream tcp nowait root /sbin/dropbearmulti
Save the file.
In order to make it work we need to kill the networking process.
4864 (example of process id)
kill -HUP 4864
Now you should be able to log on as root through SSH