Monday, August 3, 2009

How to enabled SSH in ESXi

ssh is disabled by default in ESXi however you can enabled ssh for troubleshooting purpose. ESXi has a hidden and unsupported console mode called "Tech Support Mode" where you can run some ESXi commands to manage and troubleshoot the ESXi server. Below are the steps to access the Tech Support mode and enabling ssh.

1. At the ESXi console screen, Press Alt+f1
2. Type "unsupported" (this is hidden) and enter.
3. Type the root password when prompted.

Tech Support Mode is now activated. To enable ssh to the server do the following steps.

4. Now type vi /etc/inetd.conf to edit the file
5. Search for line starting with “#ssh”
6. Remove the '#"
7. Save changes to the file by pressing esc and typing ":wq!"
8. Now restart the server. (Restart is required as restarting the management services does not enable it. Also to disable ssh will require a restart)

No comments:

Post a Comment