使用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
本文解决使用apt-get安装openssh-server后,启动SSH服务时出现的Failed to start sshd.service: Unit sshd.service not found.错误。通过systemctl启用ssh.service来修复此问题。
使用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

被折叠的 条评论
为什么被折叠?