1.使用apt-get install openssh-server
2.使用sudo systemctl start sshd 开启SSH服务时提示:Failed to start sshd.service: Unit sshd.service not found.
解决方案:
1.添加ssh.service
systemctl enable ssh.service
2.打开安全中心 关闭 联网控制

解决Ubuntu启动SSH服务失败的问题
在Ubuntu系统中,尝试通过`sudo systemctl start ssh`开启SSH服务时遇到'Unit ssh.service not found.'的错误。解决方案包括添加ssh.service并启用它,以及检查和关闭系统的联网控制。确保系统安全配置正确,并能够正常启动SSH服务。
1.使用apt-get install openssh-server
2.使用sudo systemctl start sshd 开启SSH服务时提示:Failed to start sshd.service: Unit sshd.service not found.
解决方案:
1.添加ssh.service
systemctl enable ssh.service
2.打开安全中心 关闭 联网控制

1万+

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