In the Troubleshooting Options, you will find options regarding the use of the ESXi shell, SSH, and management agents.
As you can see, in "Troubleshooting Options", you will be able to :
To enable or disable the ESXi shell, select the "Enable / Disable ESXi Shell" option and press Enter, to disable or enable again the ESXi shell.
To enable or disable the SSH protocol, select the "Enable / Disable SSH" option and press Enter, to disable or enable again the SSH (Secure Shell).
To change the activity and inactivity timeouts for the ESXi shell and SSH, go to : Modify ESXi Shell and SSH timeouts.
As you can see, you will be able to define :
Note that these activity and inactivity timeouts relate to the use of the ESXi shell (either locally or remotely via SSH) as indicated in the title of the window (Set the timeouts for ESXi Shell access (local and remote)).
By default, 0 is specified, which means that none of these timeouts are set.
To change the idle timeout after which you will be automatically logged out of the DCUI console, go to : Modify DCUI idle timeout.
Specify a delay in minutes or 0 so that you are never automatically logged out of this DCUI console.
By default, this delay is 10 minutes and you should never disable it in production for security reasons.
If there is a problem with your VMware ESXi hypervisor, you can restart the management agents by going to : Restart Management Agents.
Warning : as shown in red, this will disconnect all remote management software and affect all running services.
Note that you can enable collection of troubleshooting information if you wish.
Then, confirm restarting the management agents by pressing F11.
To view the system logs of your VMware ESXi hypervisor, select the "View System Logs" option and press the number key corresponding to the system log you want to view :
For example, here is an overview of the "Syslog" system log.
To return to the previous screen (the DCUI console), press the "Q" key.
By selecting the "View Support Information" option, you can find out :
For information, know that it's preferable to use an RSA key instead of DSA for SSH and that OpenSSH disables by default the generation of the DSA key in favor of RSA from its version 7.0.
As you can check on the OpenSSH site.
OpenSSH 7.0 and greater similarly disable the ssh-dss (DSA) public key algorithm. It too is weak and we recommend against its use. It can be re-enabled using the HostKeyAlgorithms configuration option:
If you press the "Page Down" key on your keyboard to go to the next page of this information, you may also find :
To reset the system configuration of your VMware ESXi hypervisor, including those customized by the manufacturer of the server used (if applicable), use the "Reset System Configuration" option.
Note that it's best to first shut down running virtual machines or migrate them to another VMware ESXi host (if applicable) before resetting the VMware ESXi configuration.
Please note : the password of the root account will also be deleted. This means that anyone can potentially connect to your VMware ESXi hypervisor.
For virtual machines present on your VMware ESXi hypervisor, they will be unregistered.
Confirm the restoration of the system settings to their default values by pressing the F11 key on your keyboard.
From this DCUI console, you have the option of shutting down or restarting your VMware ESXi server by pressing the F12 key.
Authenticate yourself.
As indicated by this DCUI console, it's recommended that you manage your VMware ESXi server remotely (either through its web interface or through another product, such as VMware vCenter Server) to be able to safely shut down or restart it.
However, if you still want to shut down or restart your server, press F2 to shut down it or F11 to restart it.
When you see the DCUI console, there is no indication that you can access the ESXi shell locally.
However, if you press the "ALT + F1" keys, you will see this displayed on a black background.
If the ESXi shell is not enabled, you will not see anything other than the name "ESXi" and the VMware copyright.
To enable the ESXi shell, return to the DCUI console by pressing the "ALT + F2" keys, then press F2 to enter the configuration of VMware ESXi.
Authenticate yourself.
Then, go to : Troubleshooting Options.
Select the "Enable ESXi Shell" option and press Enter to enable the ESXi shell.
Now, "ESXi Shell is Enabled" is displayed.
Now, press the "ALT + F1" keys again and you will see the "localhost login:" line appear.
Log in as root (for example).
As you can see, VMware ESXi tells you that all commands executed through the ESXi shell are logged and can be included in support bundles. It's therefore important not to directly specify passwords or other sensitive information in the commands that you will execute here.
To quit this ESXi shell, don't forget to type the "exit" command.
So, the screen will go back to like this.
To return to the DCUI console, press the "ALT + F2" keys.
To quickly display the "vmkernel" system log from the DCUI console, just press the "ALT + F12" keys.
Then, to return to the DCUI console, press the "ALT + F2" keys.
VMware 5/25/2022
VMware 5/27/2022
VMware 1/27/2023
VMware 12/2/2022
Pinned content
Contact
® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.
No comment