Wednesday, January 27, 2010

how-to activate SSH in ESXi

 clipped from www.vladan.fr

how-to activate SSH in ESXi


When you firs install ESXi Server (the installable version), by default the service ssh is desactivated. Tech Support
Mode
provides a command-line interface that can be used to diagnose and repair ESX Server 3i hosts. But it is possible very
easy to activate SSH. Here is how:

Requirements:

You have to have direct access to console

1.) While you are at the console hit ALT + F1

2.) Type in " unsupported " and hit Enter

3.) Go ahead and type the root password

4.) Go and edit the /etc/inetd.conf file type :   vi /etc/inetd.conf

5.) Uncoment the line where you can see "#ssh" (line 32). Remove the "#" mark at the beginning.

6.) Then press ESC and type in :wq to save the file and exit vi.

7.) Then run the command /sbin/services.sh restart

Remarque: In case that this don't work. It means that when you type "
unsupported " nothing happens, you'll have to follow this:
1.) Open the VI client, click onto the ESXi server you want to manage and go to Configuration TAB

Remarque: In case that this don't work. It means that when you type " unsupported " nothing happens, you'll have to follow this:

1.) Open the VI client, click onto the ESXi server you want to manage and go to Configuration TAB

2.) Advanced Settings

3.) Uncheck the VMkernel.boot.techSupportMode

4.) Reboot the ESXi Server. Before restarting the host, you should shut down virtual machines on that host

You can read the original KB article at WMware website

Get Clipmarks - The easiest way to email text, images and videos you find on the web.
Sent with Clipmarks

0 comments: