After I have disabled password authentication on SSH, I want to attempt to connect with password authentication so that I confirm that password authentication is certainly disabled.
With -o option set PreferredAuthentications to password.
$ ssh -o PreferredAuthentications=password xxxx@example.com Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
If you see "Permission denied", it's OK.