[Others] ssh server 无法启动
Tofloor
poster avatar
bo90geek
deepin
2021-12-18 23:28
Author
[15:26:33@zhubo ~]$systemctl restart sshd
Failed to restart sshd.service: Unit sshd.service not found.
[15:27:02@zhubo ~]$sudo apt install openssh-server 
正在读取软件包列表... 完成
正在分析软件包的依赖关系树   
正在读取状态信息... 完成   
openssh-server 已经是最新版 (1:7.9p1.6-1+dde)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 12 个软件包未被升级。
[15:27:19@zhubo ~]$

Reply Favorite View the author
All Replies
liwl
deepin
2021-12-18 23:47
#1

ssh 不是sshd

sudo systemctl start ssh

sudo systemclt enable ssh

Reply View the author
Feng Yu
deepin
2021-12-19 00:19
#2

debian/ubuntu的服务名普遍是没有d后缀的,这个跟RHEL的约定俗成不一样

Reply View the author
wenzhizhong
deepin
2021-12-19 20:32
#3
Feng Yu

debian/ubuntu的服务名普遍是没有d后缀的,这个跟RHEL的约定俗成不一样

那Samba 启动命令service smbd start 呢?😏

Reply View the author
bo90geek
deepin
2021-12-22 01:37
#4
liwl

ssh 不是sshd

sudo systemctl start ssh

sudo systemclt enable ssh

对的,发现了,感谢回复

Reply View the author