VMware Cloud Community
cbarth
Contributor
Contributor

SSH on ESX i 4

Hi,

I'am trying to enable SSH on our ESXi4 Host.

I've followed this instruction:

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

But when I try to connect I get the Message Network error, connection refused.

Any Ideas??

Reply
0 Kudos
4 Replies
cbarth
Contributor
Contributor

have rebooted the machine now its working Smiley Happy

Reply
0 Kudos
bulletprooffool
Champion
Champion

to kill the process, you could have types ps | grep inetd

Then taken used the returned process id as follows:

kill -HUP processid

One day I will virtualise myself . . .
Reply
0 Kudos
JohnGibson
Hot Shot
Hot Shot

Out of interest... why do yo want to use SSH? Ive spent a while looking at what we could now do without using SSH, and have chosen to move to ESXi 4... and im mandating that noone use SSH anymore, as anything we would have previously done via SSH we can do another way.

Reply
0 Kudos
inforhunter
Enthusiast
Enthusiast

Additional step is nedded:

through the VI client:

Configure----


>Advanced settings -


>VMkernel

Make sure this parameter:"VMkernel.boot.techSupportMode" is set to check on

Reply
0 Kudos