1.按照提示

systemctl status ssh.service

查看报错原因

sshd -t

2.结果
/etc/ssh/sshd_config line 34: missing argument.
该文件的34行有错误修改即可
[原图]
查看报错原因  sshd -t
    

b for ssh.service failed because the control process exited with error code. See "systemctl status ssh.service" and "journalctl -xe" for details.

 
Kali

1.按照提示

systemctl status ssh.service

查看报错原因

sshd -t

2.结果
/etc/ssh/sshd_config line 34: missing argument.
该文件的34行有错误修改即可
[原图]
查看报错原因  sshd -t
    

b for ssh.service failed because the control process exited with error code. See "systemctl status ssh.service" and "journalctl -xe" for details.

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-21
  • 2021-09-11
  • 2022-12-23
  • 2021-11-14
猜你喜欢
  • 2022-12-23
  • 2021-11-10
  • 2022-01-07
  • 2021-09-14
  • 2021-12-31
相关资源
相似解决方案