?
Solved

ESXi 4.0 and SSH

Posted on 2012-04-03
8
Medium Priority
?
845 Views
Last Modified: 2012-04-03
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
Comment
Question by:Lamrski
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 123
ID: 37802446
0
 
LVL 123

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 37802468
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
 

Author Comment

by:Lamrski
ID: 37802511
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
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

 
LVL 123

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 37802525
try the second option much easier.
0
 

Author Comment

by:Lamrski
ID: 37802561
How do I unregister the VM..?

I can see how to remove from inventory.

And where is the  vSphere Client Datastore Browser?
0
 
LVL 123

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 37802595
Right Click the VM, and select Remove from the Inventory.

You select your datastore, and select Browse
0
 

Author Comment

by:Lamrski
ID: 37802760
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
 
LVL 123

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 37802781
Not notepad, I stated above Wordpad, or WinVi32
0

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question