Skip to content

安装SSH | Ubuntu

安装

sudo apt install openssh-server

开启SSH服务自启动

sudo systemctl enable ssh

开启SSH服务

sudo systemctl start ssh

查看SSH服务状态

sudo systemctl status ssh