• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 904
  • 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
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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