The default value of "PasswordAuthentication" is typically "yes".
VMware vSphere ESXi 8.0.1 and below
Direct changes to file "sshd_config" is not persistent across reboot.
sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config!/bin/sh ++group=host/vim/vmvisor/boot# local configuration options. Note: modify at your own risk! If you do/use anything in this# script that is not part of a stable API (relying on files to be in# specific places, specific tools, specific output, etc) there is a# possibility you will end up with a broken system after patching or# upgrading. Changes are not supported unless under direction of# VMware support.# Note: This script will not be run when UEFI secure boot is enabled.sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_configexit 0Note: Starting with 8.0.2, it is no longer supported to directly modify the "/etc/ssh/sshd_config". See KB "Configurable properties of SSH Server on ESXi 8.0.2 or later" for the supported method.