Exclude a user from ssh keys, add the following to the bottom of /etc/ssh/sshd_config Match User user1,user2,user3,user4 PasswordAuthentication yes