Is it possible with ssh to allow passwords from a certain user, but deny using passwords for everybody else?
Basically I want to allow password auth for user justin
but everybody else must use public keys.
PasswordAuthentication no
Seems to be global though, no way to specify by user.
Necromancing, but adding the following to your sshd_config should do the trick:
Note that match is effective "until either another Match line or the end of the file." (The indentation isn't significant.)