Enable SSH
Can you access your Server with any other ssh-client?
On ESXi servers SSH is not activated by default. If you haven't activated SSH yet, take a look at e.g. http://www.thomasmaurer.ch/2011/08/enable-ssh-on-esxi-5-via-vsphere-client/
Handle SSH Warnings
Note: The inconvenience you are faced with since ESXi version 5.x is that you will be reminded by your vSphereClient in the Host-Summary-page, section 'Confirmation Issue', that 'SSH for the host has been enabled'. And there will be a warning sign at the host-icon.
HowTo Disable These Warnings
- Select the ESXi host from the Inventory.
- Select Advanced Settings from the Software menu.
- Navigate to UserVars > UserVars.SuppressShellWarning.
- Set the value from 0 to 1.
- Click OK.
HowTo Disable These Warnings Using Esxcli
- Connect to the ESXi host through SSH using root credentials.
- Run the following command:
esxcli system settings advanced set -o /UserVars/SuppressShellWarning -i 1
HowTo Re-Enable These Warnings Using Esxcli
- Connect to the ESXi host through SSH using root credentials.
- Run the following command:
esxcli system settings advanced set -o /UserVars/SuppressShellWarning -i 0
Thanks, Paul, for sending in these tips!
Add comment