• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 882
  • Last Modified:

ESXi 4.0 and SSH

1.  I do not know how to access the ESXi console.  Do I reboot the VMware machine?  Does this cause problems with my virtual machines?

2.  I need to change one of the VM config vmx files by using SSH and I can't connect to the VM using SSH...when I try to putty /SSH into either the VM or to the ESXi I get "Network Error: connection refused"..  
       I have looked at some blogs and it says to create a new user and "grant remote Access" but the "grant remote access"  is not even an option when creating a new user.

I really do not want to mess up my VMware connection/VM's...can someone give me the proper way to accomplish accessing the ESXi ?
Thank you in advance!

ps..My firewall is not the issue  is has something to do with knowing how to enable SSH on VMware.
0
Lamrski
Asked:
Lamrski
  • 5
  • 3
4 Solutions
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
1. There is no requirement to reboot the host ESXi server.

2. To change the VMX file, you will need to Turn OFF the VM, and Unregister the Virtual Machine from the Inventory, Right Click the VM, and select Remove from Inventory, because the VMX files is cached on the host or vCenter server. Once you have removed from the Inventory you can edit it.

You can download the VMX file to your workstation using the vSphere Client Datastore Browser, and edit locally with wordpad, and then upload again, no requirement for SSH.

always make a backup of the VMX file before editing.
0
 
LamrskiAuthor Commented:
Thank you for the help...

As far as the knowledge base, I have tried this and the "Grant shell access to this user" option is not there at all.. (that's what meant instead of "grant remote access")...Do you know if there is a reason why this option isn't even showing?

Thank you for your help.. I will go ahead and try your second option .
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
try the second option much easier.
0
 
LamrskiAuthor Commented:
How do I unregister the VM..?

I can see how to remove from inventory.

And where is the  vSphere Client Datastore Browser?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Right Click the VM, and select Remove from the Inventory.

You select your datastore, and select Browse
0
 
LamrskiAuthor Commented:
Which program is the best to use for editing..I tried notepad which is usually the pick.  But in this case the text is convoluted?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Not notepad, I stated above Wordpad, or WinVi32
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now