当前位置:网站首页>Unit sshd.service could not be found
Unit sshd.service could not be found
2022-06-12 16:39:00 【遗忘的迟来的风】
Linux查看ssh服务状态时提示Unit sshd.service could not be found。
1、查看ssh、sshd是否都已安装:ps -e|grep ssh
2、这里显示未安装sshd,安装:sudo apt-get install openssh-server
注:如果执行sudo命令提示“xxx 不在 sudoers 文件中。此事将被报告。”,请参考执行sudo命令提示用户名不在 sudoers 文件中
3、再查看sshd状态:systemctl status sshd,此时不再报错
边栏推荐
- Project training of Shandong University rendering engine system (VI)
- What's the matter with pbootcms' if judgment failure and direct display of labels?
- su直接切换到超级管理员模式,这样很多报错都可以避免了
- ISCC-2022 部分wp
- 收藏 | 22个短视频学习Adobe Illustrator论文图形编辑和排版
- Mongodb learning and sorting (basic command learning of users, databases, collections and documents)
- mysql语句
- key为断言的map是怎么玩的
- Extract the new Chinese cross modal benchmark zero from 5billion pictures and texts, and Qihoo 360's new pre training framework surpasses many SOTAS
- \begin{algorithm} 笔记
猜你喜欢
双写一致性问题
RMI, JNDI, LDAP introduction +log4j vulnerability analysis
Leetcode 2194. Cellules dans une plage dans un tableau Excel (OK, résolu)
redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
博士申请 | 新加坡国立大学Xinchao Wang老师招收图神经网络方向博士/博后
MySQL面试整理
叶子分享站PHP源码下载
如何基于CCS_V11新建TMS320F28035的工程
How to play the map with key as assertion
Overview of webrtc's audio network Countermeasures
随机推荐
Canvas image processing (Part 1)
Postgresql源码(53)plpgsql语法解析关键流程、函数分析
MongoDB 学习整理(用户,数据库,集合,文档 的基础命令学习)
34-【go】Golang channel知识点
男神女神投票源码 v5.5.21 投票源码
generate pivot data 0
Anfulai embedded weekly report no. 268: May 30, 2022 to June 5, 2022
Demande de doctorat | xinchao Wang, Université nationale de Singapour
The C programming language (version 2) notes / 8 UNIX system interface / 8.5 instance (implementation of fopen and Getc functions)
Swin transformer code explanation
Golang recursively encrypts and decrypts all files under the specified folder
RMI, JNDI, LDAP introduction +log4j vulnerability analysis
CAS optimistic lock
The C programming language (version 2) notes / 8 UNIX system interface / 8.2 low level i/o (read and write)
使用ubantu时,遇见的一些小毛病和解决方法
Collect | 22 short videos to learn Adobe Illustrator paper graphic editing and typesetting
Possible problems of long jump in gaussdb
token与幂等性问题
Leetcode 2194. Cellules dans une plage dans un tableau Excel (OK, résolu)
【树莓派】:(四)Camera 进阶