Saturday, January 30, 2010

How to Enable ssh on ESX3 or VSphereESX4

From the ESX Server Console
1. CD /etc/ssh
2. Use the vi editor to edit the sshd_config file
Exanple: vi sshd_config
3. Scroold dwon and find the line #PermitRootLogin no
4. Hit Insert This will allow you to modify the file
4. Remove the # and replace no with yes
Example: PermitRootLogin yes
5. Hit Esc, then :
6. Then wq This will write the changes and quit the vi editor
7. Then type in service sshd restart
This will restart the ssh service and you now be able to access the console via ssh with the user root
Done!