Technical article 127242

How can I get access to the VMware ESXi 3.5 console login shell or gain ssh and telnet access?

OpenServer 5.0.7

Written · Last revised

Problem

How can I get access to the VMware ESXi 3.5 console in order to get a login shell?

Also can I enable ssh and telnet access to the ESXi 3.5 server?

Solution

VMware ESXi 3.5 is a cut down version of the full ESX 3.5.

The full ESX 3.5 has a login console <Alt><F1> where admin user, like root can get a login shell to carry out admin work.

The ESXi 3.5 has that option too, but its hidden.

In order to gain console login shell access under ESXi 3.5 and also to enable the ssh and telnet services on the ESXi 3.5 server, please carry out the following:

1- Boot the VMware ESXi 3.5.
Once the boot is finished, you will land in VMware ESXi
3.5 "Config Terminal" also known as Direct Console UI
(DCUI).

2- You will first need to assign a password for the "root" user, if you have not already done so.

Press <F2> to customize your ESXi 3.5 system.

Under "Configure Root Password", set a root password.

You can also change the IP address of the ESXi 3.5, as the default would be DHCP.

Then with <Esc> to exit the "Config Terminal" and your back to the main ESXi 3.5 DCUI terminal (which is <Alt><F2>).

3- Press Alt+F1 to switch to the console window.

Enter "unsupported" without the quotes, to start the Support Mode login process. Note that no text will appear on the console window.

Enter the password for the root user. You have now entered the console login shell.

4- To enable SSH or Telnet access, you need to first activate the ssh and telnetd daemon.

# cd /etc
# vi inetd.conf
  and uncomment the line with ssh and telnet:
ssh    stream  tcp  nowait  root  /sbin/dropbearmulti  dropbear  ++min=0
telnet stream  tcp  nowait  root  /bin/busybox  telnetd

Then exit vi and save the file.

5- Restart the inetd:
# ps x | grep inetd
1283 1283 busybox   inetd
# kill -HUP <inetd PID number>

You now can ssh or telnet to the ESXi 3.5 server.

Please Note: You can also "scp & sftp" to the ESXi 3.5 server.

6- to exit the Admin Login Console, just type in "exit" and then <Alt><F2> to return to the DCUI

For more infos, please check this URL:

http://kb.vmware.com/kb/1003677
NOTES:    Check out the difference between VMware ESX and the ESXi:
http://kb.vmware.com/kb/1006543

And also check the Limitation in Networking under ESXi compared to the full ESX 3.5 server:

http://kb.vmware.com/kb/1003345

From the Xinuos technical article database, record 127242. Reproduced with permission. The original is at www.sco.com/ta/127242, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.