To validate that PasswordAuthentication is enabled on the target run the command
# ssh -o PreferredAuthentications="password" username@127.0.0.1
If PasswordAuthentication is disabled, it will show a permission denied error:
Permission denied (gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive).
If PasswordAuthentication is enabled, it will allow the logon and prompt for the password
username@127.0.0.1's password:
To resolve the issue, on the target Asset, ensure PasswordAuthentication is enabled in the sshd_config, then restart SSHD
For example:
[root@centos1 ~]# sshd -T | grep -i passworda
passwordauthentication yes
Alternatively, use SSH Key authentication instead of Password authentication.