nano /etc/ssh/sshd_config````shell
LoginGraceTime 120
PermitRootLogin without-password #找到这里,把它注释
PermitRootLogin yes #改为yes 然后重启ssh StrictModes yes
然后重启</code>service ssh restart`
© 著作权归作者所有
nano /etc/ssh/sshd_config````shell
LoginGraceTime 120
PermitRootLogin yes #改为yes 然后重启ssh StrictModes yes
然后重启</code>service ssh restart`
文章评论(0)