Unit sshd.service could not be found.

天行健,君子以自强不息;地势坤,君子以厚德载物。


每个人都有惰性,但不断学习是好好生活的根本,共勉!


文章均为学习整理笔记,分享记录为主,如有错误请指正,共同学习进步。

文章目录


描述

使用putty连接Ubuntu虚拟机ip时报错,查看sshd状态时出现
Unit sshd.service could not be found

解决

先更新

linux 复制代码
sudo apt-get update

执行命令安装ssh

linux 复制代码
sudo apt-get install openssh-server

然后启用即可

linux 复制代码
sudo service sshd start

如果报错如下
Failed to start sshd.service: Unit sshd.service not found.

请参考以下文章解决:
Failed to start sshd.service: Unit sshd.service not found 问题解决


感谢阅读,祝君暴富!

相关推荐
蚰蜒螟30 分钟前
走进 Linux 内核:从 touch 命令到磁盘 inode 的完整旅程
java·linux·前端
feng_you_ying_li30 分钟前
liunx之可重入函数,volatite,和线程的基本介绍(1)
linux
兮山与35 分钟前
Linux
linux·javaee进阶
明夜之约1 小时前
Linux 系统命令使用速查手册
linux·运维
夜月yeyue1 小时前
KCP 与 UDP 可靠传输
linux·网络·单片机·网络协议·udp·php
比昨天多敲两行2 小时前
Linux信号
linux·运维·服务器
sulikey2 小时前
ELF文件中的“节“与“段“,如何与虚拟地址空间中的“分页“和“分段“产生联系?
linux·服务器·elf·虚拟地址空间·分页·分段·elf文件
我先去打把游戏先2 小时前
Ubuntu虚拟机(服务器版本)Git卸载完全教程——彻底移除与清理配置
服务器·git·单片机·嵌入式硬件·物联网·ubuntu·51单片机
着迷不白2 小时前
四、Linux 文件权限+sudo权限委派+IO重定向+vim高级
linux·运维·服务器