Granting SSH access to the Root user is not recommended from the security point of view. But, when you are in a secured environment you can safely enable the SSH access for the Root user.
- Login on your physical server as Root user.
- Type: #vi /etc/ssh/sshd_config
- Find the PermitRootLogin value in the file and change it from “no“ to “yes“. Save the file.
- Restart the sshd service by typing: #service sshd restart
You can now use your favorite SSH client to login to your ESX server.