Solved

ESXi 4.0 and SSH

Posted on 2012-04-03
8
797 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 118
ID: 37802446
0
 
LVL 118

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 118

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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

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 118

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 118

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

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.

Question has a verified solution.

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

Suggested Solutions

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

911 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

23 Experts available now in Live!

Get 1:1 Help Now