1.打开配置文件

$ sudo vi /etc/ssh/sshd_config 

2.修改操作

 PermitRootLogin without-password  修改为 PermitRootLogin yes

3.重启shh服务或重启计算机

$ service sshd restart

 

相关文章:

  • 2021-04-10
  • 2022-12-23
  • 2021-08-25
  • 2021-11-05
  • 2021-12-30
  • 2022-12-23
  • 2021-10-29
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-12
  • 2022-12-23
  • 2021-09-25
相关资源
相似解决方案