转载自: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配置参数

相关文章:

  • 2022-12-23
  • 2021-07-31
  • 2022-12-23
  • 2022-01-05
  • 2021-10-20
  • 2021-11-13
猜你喜欢
  • 2021-07-23
  • 2021-10-30
  • 2021-09-27
  • 2021-04-12
  • 2021-09-27
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案