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

b 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行有错误修改即可
[原图]

 
标签:  Kali

1.按照提示

systemctl status ssh.service

查看报错原因

sshd -t

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

猜你喜欢

转载自www.cnblogs.com/xuanbjut/p/13379697.html