1.按照提示

systemctl status ssh.service

查看报错原因

sshd -t

2.结果
/etc/ssh/sshd_config line 34: missing argument.
该文件的34行有错误修改即可
[原图]
Job for ssh.service failed because the control process exited with error code. See "systemctl status ssh.service" and "journalctl -xe" for details.

相关文章: