sed -i 's/prohibit-password/yes/' /etc/ssh/sshd_config
service sshd restart