查看报错原因 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.

查看报错原因  sshd -t
b for ssh.service failed because the control process exited with error code. See

 

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.