Syed Jahanzaib Personal Blog to Share Knowledge !

July 4, 2012

Howto Enable SSH in VMWARE ESXi 4.0

Filed under: VMware Related — Tags: , , , — Syed Jahanzaib / Pinochio~:) @ 9:16 AM

Today I was in need to execute some scripts on ESXi 4.0 server via remote to power ON the VM guest machine , but there is no menu to enable ssh  in ver 4.0, so I followed below steps to enable ssh on esxi 4.0
Free version of ESXi do have ssh service available but its disabled by default.

Goto your ESXI server, At the console , press ALT-F1 ,

Type unsupported in the console and then press Enter. The text typed will not be show over the screen, so be careful while typing ,  If you typed in unsupported correctly, you will see the password prompt.
Now Enter the password for the root login.

# You should then see the prompt of ~ #
Now we need to Edit the file inetd.conf in order to enable ssh service, Open it in vi editor

vi /etc/inetd.conf

Find the lines that begins with #ssh and remove the #
Then save the file.
by pressing ESC and type in :wq  ,

Once you’ve closed the vi editor, you can either restart the esxi server
Restart the inetd process only by following steps.

To restart inetd run , we first need to find the pid of inetd process by following command

ps | grep inetd

The output of the above ps command will be something like

4886     4886     busybox          inetd

the process ID in this example is 4886. Now run

kill -HUP 4866 

Now try to login to your ESXI 4.0 via putty or any other ssh client, Hopefully It will work fine 🙂

Good thing about new ESXI 4.1 version is that it supported enabling SSH via main console, no need to go back to black screen, i mean cli.
http ://

Syed Jahanzaib


  1. Salam Alaikum Jahanzaib Bhai

    how do i can make a iptv network over ppp in a local network with pppoe internet kindly please explain in details if u can i saw ur post that vlc can do this
    but if i put the optical fiber pci card directly into the mikrotk it can be work for tv server? actually i am so confused abt iptv setup like ptcl smart tv is also working
    with internet i know they are using by pvc with the help of dslam. but how can we make a iptv with internet pppoe local network. because i really need to give my customer’s a digital box because in that way i can make a card’s nd recharged myself. please kindly help me in easy way please.

    and one more thing Jahanzaib bhai can u tell me any wimax bts for my testing purposes? i think the ubiquity m5 is not for wimax with super channels?
    or can we make a wimax environment from the mikrotik?


    Comment by Waqas Hussain — September 1, 2012 @ 4:18 AM

  2. Salam Alaikum Jahanzaib Bhai.

    I have problem with VMWare (ESXI 5.0) lab which I have created in VMWare Workstation. I have gone through your blog (Installation of vCenter Server, Diagram: Our Lab Scenario) November 21, 2012) and installed. I’m unable to add VCenter Server (under workstation) into Domain which is installed under ESXI 1. What are the network settings should i do in workstation.


    Comment by krishmy — May 9, 2013 @ 12:25 PM

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: