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

1.按照提示

systemctl status ssh.service

查看报错原因

sshd -t

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

posted @ 2020-04-24 10:22  HUGBOY  阅读(2891)  评论(0编辑  收藏  举报