001、系统
root@DESKTOP-A31BQ38:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.1 LTS Release: 22.04 Codename: jammy root@DESKTOP-A31BQ38:~#
002、查看ssh服务
root@DESKTOP-A31BQ38:~# service ssh status ssh: unrecognized service root@DESKTOP-A31BQ38:~# /etc/init.d/ssh status -bash: /etc/init.d/ssh: No such file or directory
003、安装ssh服务
root@DESKTOP-A31BQ38:~# sudo apt install openssh-server -y
标签:service,No,安装,DESKTOP,A31BQ38,ssh,ubuntu,root From: https://www.cnblogs.com/liujiaxin2018/p/17080961.html