Solved

ESXi 4.0 and SSH

Posted on 2012-04-03
8
783 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
  • 5
  • 3
8 Comments
 
LVL 117
ID: 37802446
0
 
LVL 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 500 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
 
LVL 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 37802525
try the second option much easier.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

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 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 500 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 117

Accepted Solution

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

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now