The way to configure it. go to "/etc/ssh/sshd_config.d" uncommand "PasswordAuthentication yes".
go to inner files of "/etc/ssh/sshd_config.d". check all files if anywhere it's overriding "PasswordAuthentication no" change it to yes and save.
reload sshd
sudo systemctl reload sshd restart sshd systemctl restart sshd
Note- if permission issue apply "sudo"
verify authentication saved to yes
sudo sshd -T | grep -i passwordauthentication
You will be able to login using password auth.