Solved

ssh on ESXI not working!

Posted on 2009-07-13
3
1,004 Views
Last Modified: 2013-11-11
Hello,
 I'm very new to VMware and I'm trying to get SSH working so I can use Symantec System Recovery to Create a VM of a physical machine (I guess it says I need to have SSH enabled to copy the files.) I went through the proceedure I found online but I'm not having any luck. The machine is local on my network and I am able to ping and get to the box by using the infrastructure client. I have disabled my firewall on my PC and still no SSH. I've used putty and I keep getting a connection refused message
Here is the procedure I followed:

   1.  Go to the ESXi console and press alt+F1
   2. Type: unsupported
   3. Enter the root password(No prompt, typing is blindly)
   4. At the prompt type vi /etc/inetd.conf
   5. Look for the line that starts with #ssh (you can search with pressing /)
   6. Remove the # (press the x if the cursor is on the character)
   7. Save /etc/inetd.conf by typing :wq!
   8. Restart the management service /sbin/services.sh restart

I've restarted the machine completely and haven't had any luck.

VMware Server 3i 3.5.0 build 123629


0
Comment
Question by:jbla9028
3 Comments
 
LVL 19

Accepted Solution

by:
vmwarun - Arun earned 250 total points
ID: 24844171
0
 
LVL 13

Assisted Solution

by:bleeuwen
bleeuwen earned 250 total points
ID: 24846984
Hi, this is the right procedure, and if you have rebooted the esx it should work (after update 2 the management service restart command does not work). Check the line #ssh, are all spaces gone in that line (before the ssh)?
Are you sure, everything is allright in your localhost (firewall)?
0
 
LVL 1

Author Closing Comment

by:jbla9028
ID: 31603269
I just got in. I'm not really sure what was going on but I redid all the steps including the extra directions to kill the proc-id. I didn't see a proc-id though for anything. I restarted the server and I finally was able to get in. very strange. Thanks though.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VMWARE Esxi 5.5 guest screen off 12 60
Removing or minimizing Vcenter admins membership 2 50
Creating and Connection two new domains 5 80
HP VSA on ESXi Best Practice 3 51
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

863 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

24 Experts available now in Live!

Get 1:1 Help Now