I have created an EC2 instance that runs FreeBSD, and I can log into it using my SSH key and the default user ec2-user. I logged into it, and switched to root using su. I then created a personal account using adduser, and enabled password authentication and typed in a password.
When I tried to log into my account using PuTTY, I got the error "No supported authentication methods available (server sent: publickey)".
I have already enabled password authentication using
PasswordAuthentication yes in my sshd config.