You try to access ESXI SSH using Putty or other SSH client but receiving messages similar to:
When you try directly from vCenter shell using following command
you get message
You are able to access ESXI UI or DCUI using same user and credentials.
You connect to ESXI using DCUI and check that SSH service is running using command
After confirming that service is up and running run following to get more information's
In output you see similar entries
This is indicating that keyboard-interactive authentication method is disabled in /etc/ssh/sshd_config
ESXi 8.x
Previous changes on ESXi were done following this article
Allowing SSH access to VMware vSphere ESXi/ESX hosts with public/private key authentication
Modify "challengeresponseauthentication no" to "challengeresponseauthentication yes" in /etc/ssh/sshd_config
Open DCUI following
Accessing DCUI/Console of ESXi using ALT+F Keys
Navigate to location /etc/ssh
Then take backup of the sshd_config file
cp sshd_config sshd_config.bak
Then using text editor find correct line
challengeresponseauthentication no
and change it to
challengeresponseauthentication yes
Restart ssh service with following command
/etc/init.d/SSH restart
Try SSH login again.