How to allow the root user to login to VMware ESX Server with SSH
Posted by: David Davis
Let’s say that you just installed a new VMware ESX server. You tried to add SSH to it and login as root. What happened?
It didn’t work, did it?
The firewall allows it, right? (yes) You can login to the physical server console with the same username & password, right? (yes) But it still doesn’t work, does it?
Let’s find out how to fix it….
To allow the root user to login to a VMware ESX Server over the network using SSH, do the following:
- Go to the service console on the physical server & login
- vi /etc/ssh/sshd_config
- Change the line that says PermitRootLogin from “no” to “yes”
- do service sshd restart
And your problem is solved…
No need to thank me, just subscribe to our Virtualization Pro blog instead!
David Davis, VCP, CCIE
Personal Website: HappyRouter.com
VMware Videos by David Davis:
VMware Server & Workstation
VMware ESX Server



You must be logged-in to post a comment. Log-in/Register