Adding these lines to /etc/ssh/sshd_config makes my daemon work properly.
ChallengeResponseAuthentication yes PasswordAuthentication yes
Adding these lines to /etc/ssh/ sshd_config makes my daemon work properly.