Job for ssh.service failed because the control process exited with error code.
2019-03-20 09:16
691 查看
版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/LearnToPain/article/details/88679925
这是最初的版本 7.4的
为了版本一致,先把openssh-client卸载了,然后sudo apt-get install openssh-server再安装上,然后更新后版本降低了变成5.9的,启动ssh服务结果出现问题如下:
然后查看状态结果是:
然后各种百度、google,中文也好英文也罢,都看了,各种解决方案,然并卵用,不过最后可以确定的是配置文件有问题的。
后来仔细斟酌了下,成功的解决方案是,版本太低了,然后去下载openssh-client包,然后去安装又说没有zlib.sh,然后又去下载zlib包安装,结果又没有openssl包,最后openssl安装不了,放弃。
最最后的解决方法是,当前使用的源有问题,换源:
https://www.geek-share.com/detail/2727001651.html
确实解决了。
相关文章推荐
- CentOS7启动SSH服务报:Job for ssh.service failed because the control process exited with error code.......
- centos出现这个错误:Job for sshd.service failed because the control process exited with error code.
- Job for docker.service failed because the control process exited with error code. See "systemctl sta...
- yum安装docker报错:Job for docker.service failed because the control process exited with error code
- Job for docker.service failed because the control process exited with error code. See
- Job for postfix.service failed because the control process exited with error code. See "systemctl st
- centos中启动MySQL提示Job for mysqld.service failed because the control process exited with error code.
- CentOS 7重启防火墙服务,出现Job for iptables.service failed because the control process exited with error code
- Centos 7不能上网,Job for iptables.service failed because the control process exited with error code.
- 【Zabbix】Job for httpd.service failed because the control process exited with error code. See "sy解决方案
- vps中docker启动出现错误Job for docker.service failed because the control process exited with error code. Se
- 启动Docker 出现Job for docker.service failed because the control process exited with error code. See "错误
- Jenkins 安装启动提示“iJob for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe" for details.”
- Job for mariadb.service failed because the control process exited with error code
- Job for nginx.service failed because the control process exited with error code. See “systemctl stat
- docker启动报错: Job for docker.service failed because the control process exited with error code.
- Job for named.service failed because the control process exited with error code.
- Job for nginx.service failed because the control process exited with error code. See "systemctl stat
- Dockers Job for docker.service failed because the control process exited with error code
- 关于nginx的Job for nginx.service failed because the control process exited with error code.错误