1、su -            #!!!

2、vi /etc/ssh/sshd_config

3、PermitRootLogin yes    # 找到此字段,改为此行所示

4、/etc/init.d/ssh restart    # 重启ssh服务 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-22
  • 2021-10-12
  • 2022-02-09
猜你喜欢
  • 2021-06-07
  • 2022-12-23
  • 2021-04-07
  • 2022-12-23
  • 2021-10-17
  • 2021-09-22
  • 2021-05-04
相关资源
相似解决方案