SSH Allow Password For One User, Rest Only Allow Public Keys [duplicate]
Necromancing, but adding the following to your sshd_config should do the trick: Match User <username> PasswordAuthentication yes Match all Note that match is effective “until either another Match line or the end of the file.” (The indentation isn’t significant.)