sudo vim /etc/ssh/sshd_config

将 # Authentication:

LoginGraceTime 120

PermitRootLogin prohibit-password  改为 yes

重启SSH服务   service ssh restart

相关文章:

  • 2021-05-12
  • 2021-12-10
  • 2021-09-25
  • 2021-11-20
  • 2021-08-14
猜你喜欢
  • 2021-11-18
  • 2021-09-28
  • 2021-07-28
  • 2021-05-02
  • 2021-06-04
  • 2021-11-20
  • 2021-08-17
相关资源
相似解决方案