Job for ssh.service failed because the control process exited with error code.......

转载自:https://blog.csdn.net/woailyoo0000/article/details/79782986

笔者最近更新ubuntu系统,在更新之前设置了证书信任文件,重启以后ssh短暂可连接,马上就中断

报错

"systemctl status ssh.service" and "journalctl -xe" for details.

按他套路来一点折都没有,最终在

CentOS7启动SSH服务报:Job for ssh.service failed because the control process exited with error code.......

找到解决方法,执行以下命令找到错误地方了

/usr/sbin/sshd -T
/etc/ssh/sshd_config: line 34: Bad configuration option: IdentityFile
/etc/ssh/sshd_config: terminating, 1 bad configuration options

手工删除了ssh配置参数

转载于:https://www.cnblogs.com/passedbylove/p/10089544.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值