Monday, September 16, 2013

How to enable SSH in ESXi 4.0 ?

How to enable SSH in ESXi 4.0 from tech support mode?

1) Log in directly on the console of the ESXi server.

2) Press Alt + F1 to enter to Tech Support Mode (TSM).

3) Type unsupported and enter root password.

4) Edit the inted.conf file using VI Editor.

vi /etc/inetd.conf

5) Remove the # in front of SSH to uncomment the line.

6) Press ESC and type :wq to save and exit.

7) Then restart either the host or inetd process.

8) To restart inetd run below command to determine the process ID for inetd process.

ps | grep inetd

Output will be something like below:

4966    4966   busybox    inetd

9) Then run below command to kill the process

kill -HUP <process_id>

for example:

kill -HUP 4966

10) SSH is now enabled in ESXi 4.0 host.

No comments:

Post a Comment