1.修改:
vim /etc/ssh/sshd_config
2.找到:
# AuthenticatonLoginGraceTime 120PremitRootLogin without passwdStrictModes yes
3.修改为:
# AuthenticatonLoginGraceTime 120PremitRootLogin yesStrictModes yes
4.然后重启ssh服务:
# /etc/init.d/ssh restart
时间:2022-08-12 09:36:54
1.修改:
vim /etc/ssh/sshd_config
2.找到:
# AuthenticatonLoginGraceTime 120PremitRootLogin without passwdStrictModes yes
3.修改为:
# AuthenticatonLoginGraceTime 120PremitRootLogin yesStrictModes yes
4.然后重启ssh服务:
# /etc/init.d/ssh restart