Solved

ssh on ESXI not working!

Posted on 2009-07-13
3
1,011 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…

861 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