To disable these warnings using vSphere Client:

  1. Select the ESXi host from the Inventory.
  2. Click the Configuration tab.
  3. Click Advanced Settings in the Software menu.
  4. Navigate to UserVars > UserVars.SuppressShellWarning.
  5. Set the value from 0 to 1.
  6. Click OK.

To disable these warnings using esxcli:

  1. Connect to the ESXi host through SSH using root credentials.
  2. Run this command:

    vim-cmd hostsvc/advopt/update UserVars.SuppressShellWarning long 1

To enable these warnings using esxcli:

  1. Connect to the ESXi host through SSH using root credentials.
  2. Run this command:

    vim-cmd hostsvc/advopt/update UserVars.SuppressShellWarning long 0

To disable SSH and warning using vSphere Web Client:
  • Disable remote access to the ESXi 5.x host:
    1. From the vSphere Web Client, select vCenter from the Home menu.
    2. Select Hosts and Clusters under the Inventory Trees.
    3. Expand the tree in the left pane of the vSphere Web Client.
    4. Click the ESXi host with the yellow exclamation and click the Manage tab.
    5. Click Settings and highlight Security Profile.
    6. Scroll to Services and click Edit.
    7. Highlight ESXi Shell and click Stop.
    8. Repeat for SSH, then press OK.
  • Disable the Warning message:
    1. From the vSphere Web Client, select vCenter from the Home menu.
    2. Select Hosts and Clusters under the Inventory Trees.
    3. Expand the tree in the left pane of the vSphere Web Client.
    4. Click the ESXi host with the yellow exclamation and click the Manage tab.
    5. Click Settings and highlight Advanced System Settings.
    6. Locate the parameter UserVars.SuppressShellWarning and click the pencil icon to edit.
    7. Change the value to 1 and press OK.

Leave a Reply

Your email address will not be published. Required fields are marked *

4 × four =

Related Posts

Virtualization

Downloading and licensing vSphere Hypervisor (ESXi 6.x & 7.x)

Downloading vSphere Hypervisor (ESXi 6.x & 7.x) To download and activate ESXi 6.x & 7.x: Navigate to the VMware vSphere Hypervisor (ESXi) Download Center. From the Select Version drop down, select the version Click Download. Read more…

Oracle

Setting Network IPMP & Aggregate Solaris 11

Configure an Active-Standby IPMP Group 1. Create an IPMP interface ipadm create-ip net0 ipadm create-ip net1 ipadm create-ipmp ipmp0 2. Add the physical interfaces net0 and net1 to the ipmp group. ipadm add-ipmp -i net0 Read more…

Virtualization

Viewing the command history in ESX/ESXi

Hi guy’s, here’s how to view history command on ESX/ESXi In ESXi 5.x, the shell commands are logged in the shell.log file located at /var/log/. In ESXi 4.x, the shell commands are logged in the messages log file. To view Read more…