To enable root login for SSH and SCP clients:
If you have physical access to the ESX host, login to the console of your ESX host as the root user .
If you can only connect to the ESX host over the network, connect using an SSH client (such as PuTTY) and log in as a user other than root. After you are logged in, switch to the root user with the following command:
su -