Announcement

Collapse
No announcement yet.

How to get console access for ESXi 3.X

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to get console access for ESXi 3.X

    How to get the console access of ESXi 3.X ?

    1. At the direct console of the ESXi host, press ALT-F1 to access the console window.

    ALT-F1
    2. Enter unsupported in the console and then press Enter. You will not see the text you type in.

    unsupported
    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.

    Password: Enter root password.
    4. You should then see the prompt of ~ #. Edit the file inetd.conf (enter the command vi /etc/inetd.conf).

    #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.

    Move the cursor down to the #ssh line

    Press the Insert Key

    Move the cursor over one space

    Hit backspace to delete the #

    Press ESC

    Type :wq to save the file
    Note: if you make a mistake, you can press the ESC key and type :q! to quit
    vi without saving the file.

    6. Run ps | grep inetd to determine the process ID for the inetd process. The output of the command will be something like 1299 1299 busybox inetd, and the process ID is 1299. Then run kill -HUP <process_id> (kill -HUP 1299 in this example) and you'll then be able to access the host via SSH.

    ps | grep inetd (to determine the process ID for the inetd process)

    kill -HUP <process_id> (examble:- kill –HUP 1299)
    7. Run the command /sbin/services.sh restart to restart the management services. You'll now be able to connect to the ESXi host with a SSH client.

    /sbin/services.sh restart


    Bingooooo!!! you got the Shell access ....

    -----------
    Best Regards,
    Priscilla
    http://www.webhosting.uk.com/forums/
    Priscilla,
    WHUK VPS Supp0rt.
Working...
X