使用命令:

apt-get update

apt-get install ssh

 

然后修改 ssh 配置文件 所在目录

/etc/ssh/sshd_config

 

找到这行内容修改为以下内容:

PermitRootLogin yes

打开重启服务

service ssh status

service ssh stop

service ssh restart

 

相关文章:

  • 2021-09-08
  • 2021-04-18
  • 2021-06-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-23
猜你喜欢
  • 2022-12-23
  • 2021-04-02
  • 2021-09-28
  • 2022-12-23
  • 2021-12-27
  • 2021-07-06
  • 2021-07-20
相关资源
相似解决方案