How to allow root SSH access in ESX

Author: NetworkAdminKB.com
Created: 2009-12-17
Modified: 2009-12-17

Information:

1)      Log in to the ESX console either directly or via ssh (with a user that does have ssh access)

2)      Switch to root with the following command

su -

3)      Enter the correct password for the root account

4)      Open the /etc/ssh/sshd_config file in vi

5)      Look for the line entitled "PermitRootLogin". Make sure the value of that line is "yes"

6)      Restart the ssh daemon with the following command

service sshd restart

Article ID: 325, Created On: 9/19/2011, Modified: 9/19/2011