sudo vim /etc/ssh/sshd_config

将 # Authentication:

LoginGraceTime 120

PermitRootLogin prohibit-password  改为 yes

重启SSH服务   service ssh restart

05-11 22:52