修改/etc/ssh/sshd_config文件
重启ssh服务即可:
service sshd restart
PasswordAuthentication no - 》 PasswordAuthentication yes
重启ssh服务即可:
service sshd restart
PasswordAuthentication no - 》 PasswordAuthentication yes