VMware Communities > Blogs > Knorrhane > 2008 > August > 17

Blog Posts

Knorrhane

Previous Next
2

Enable SSh on esxi 3 3.5

Posted by nikkar Aug 17, 2008

ESXi 3.5 does ship with the ability to run SSH, but this is disabled by default (and is not supported).

1) At the console of the ESXi host, press ALT-F1 to access the console window.
2) Enter unsupported in the console and then press Enter. You will not see the text you type in.
3) If you typed in unsupported correctly, you will see the Tech Support Mode warning and a password prompt. Enter the password for the root login.
4) You should then see the prompt of ~ #. Edit the file inetd.conf (enter the command *vi /etc/inetd.conf*).
5) Find the line that begins with #ssh and remove the #. Then save the file. If you're new to using vi, then move the cursor down to #ssh line and then press the Insert key. Move the cursor over one space and then hit backspace to delete the #. Then press ESC and type in :wq to save the file and exit vi. If you make a mistake, you can press the ESC key and then type it :q! to quit vi without saving the file.
6) Restart host or try kill -HUP `ps | grep inetd`

Tags: ssh, esxi


Aug 18, 2008 7:33 AM ema68

Hi Nikkar, great news the use of the "unsupported" command. After the availability of the SSH service, now we have the problem to stop and restart the Virtual Machines hosted by the ESXi version. How is possible to launch the "vmware-cmd" command (and other related) in order to perform the stop, backup and start of the Virtual machines hosted by the ESXi version? Thanks in advance for your answer. Bye.

Aug 18, 2008 12:06 PM nikkar

I cant find the vmware-cmd command on the esxi. So for now I only have one answer which is use the remote cli from a windows box, linux box or the appliance.

/Nikkar

Click to view nikkar's profile

nikkar

Member since: Apr 12, 2005

Things that happens and is good to be remembered.

View nikkar's profile