VMware ESXi – How to Connect to an ESXi Guest Remotely

Ubuntuvmware-esxi

I recently did a remote upgrade via SSH from Ubuntu 10.10 to 11.04, which seemed to go well, rebooted when prompted. I waited a while and tried to reconnect and could not via SSH.

After a little digging, it looks like this server is actually a guest running on ESXi 4.0. I don't have physical access to the system, however I can log into it via SSH.

If I run vim-cmd /vmsvc/getallvms I see the guest in question. vim-cmd /vmsvc/power.getstate 720 indicates that the guest is powered on.

I'm stuck here. I assume that the guest doesn't have a valid IP address or SSH is turned off. After a couple hours of googling I still do not know how to get a shell open to the guest via the host.

Can anyone help me figure this out?

Best Answer

As far as I know, there is no way to directly access a virtual machine console from the ESXi virtual server host.

Assuming that you have access to the VMware host server, you can use the VMware vSphere Client (from Windows) to access the system console. Click on the appropriate host, then on the Console tab. Click inside the console window to start typing at the console, and press Ctrl-Alt to escape the console window back to the local Windows machine.

Related Topic