On Ubuntu 16.04 I have in my sshd_config
PasswordAuthentication yes
PermitRootLogin prohibit-password
However non root users are always disconnected when trying to login.
Only when I set
PermitRootLogin yes
non-root users can log in.
How can I allow non-root users to log in, but disallow passwords for root user?