14.1. linux passwd

linux禁止密码方式登录

# vi /etc/ssh/sshd_config

然后去掉了 PasswordAuthentication no 前面的注释,

# service sshd reload