Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone know the function of the command "vmware-vim-cmd vimsvc/connect (vimid)". I thought that after executing this command with correct virtual machine id, I will be connected to the shell of this virtual machine. But it only shows "already connected" and exits. Am I making some mistake in the syntax of command? Or the function of this command is completely different from what I have thought of?

share|improve this question

First what are you trying to do?
What is the Guest VM OS that you are trying to connect to? What VMware products are you dealing with and what versions?

From what I gather from above you are more looking get to the command shell of a VM? If its linux vm would just using ssh be better for what you are trying to do?

share|improve this answer
I am using ESX 3.5. Guest Os is Linux and you are right I want to access the shell of of guest os. And I can't do it through ssh because guest OS is still not on network. So brief idea here is to bring ESX on network and configure IPs of all VMs through script if above command works as per my perception. – stillStudent Feb 27 '11 at 5:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.