Solved

ssh on ESXI not working!

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

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
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…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

810 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