sudo vim /etc/ssh/sshd_config
将 # Authentication:
LoginGraceTime 120
PermitRootLogin prohibit-password 改为 yes
重启SSH服务 service ssh restart
2024-03-17 14:48:10
sudo vim /etc/ssh/sshd_config
将 # Authentication:
LoginGraceTime 120
PermitRootLogin prohibit-password 改为 yes
重启SSH服务 service ssh restart