huc-passer

1、确认ssh服务是否开启,开启命令为:service ssh start

2、若确认已开启,则需修改sshd_config文件,命令为:vi /etc/ssh/sshd_config

1.# Authentication:

2.LoginGraceTime 2m

3.PermitRootLogin prohibit-password

4.StrictModes yes

改成

1.# Authentication:

2.LoginGraceTime 2m

3.PermitRootLogin yes

4.StrictModes yes

保存退出,重启ssh服务service ssh restart

分类:

技术点:

相关文章:

  • 2021-11-21
  • 2022-02-25
  • 2021-07-18
  • 2021-12-05
  • 2022-12-23
  • 2021-04-25
  • 2021-12-01
  • 2021-11-21
猜你喜欢
  • 2021-08-23
  • 2021-09-10
  • 2022-12-23
  • 2021-11-21
  • 2022-12-23
  • 2021-08-06
  • 2021-08-05
相关资源
相似解决方案