I know that I can disable SSH authentication with clear text password for root user (using
PermitRootLogin) and enable it for all other users.
But I need to disable text passwords for some list of users (and keep only public keys authentication for they). For those, who don't included to list, I need to enable password authentication also.
So, how I can adjust different SSH policies for different users? In sshd_config I've found only 2 arguments:
PermitRootLogin without-password # disable text password for root PasswordAuthentication yes # enable it for all other users
I'd like to have some dictionary-style configuration, for example:
user1Auth without-password user2Auth without-password user3Auth yes ...
P.S. My OS is Ubuntu 14.04.