启动SSH服务出现“Failed to start sshd.service: Unit sshd.service not found.”

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了启动SSH服务出现“Failed to start sshd.service: Unit sshd.service not found.”相关的知识,希望对你有一定的参考价值。

参考技术A 重现错误
在使用apt-get install openssh-server安装SSH后
使用service sshd start开启SSH服务时提示:
Failed to start sshd.service: Unit sshd.service not found.

解决方案:
启用ssh.service
systemctl enable ssh.service

启动ssh
service sshd start

以上是关于启动SSH服务出现“Failed to start sshd.service: Unit sshd.service not found.”的主要内容,如果未能解决你的问题,请参考以下文章

spark配置SSH免密码登录:Failed to start ssh.service: Unit not found.

zookeeper启动时Starting zookeeper ... FAILED TO START问题处理

在centos下启动nginx出现Failed to start nginx.service:unit not found

Ubuntu 20.04.3 启动sshd失败,报错:Failed to start OpenBSD Secure Shell server

MongoDB安装过程中出现service MongoDB failed to start,verify that you have sufficient privileges to start(示例

mysql job failed to start-tomcat问题变种