
Ubuntu20 开启 SSH 服务
1、下载 SSH 软件
sudo apt update
sudo apt install openssh-server
2、查看 SSH 状态、设置开启自启
# 查看ssh状态
sudo systemctl status ssh
# 设置
sudo systemctl enable --now ssh
1、下载 SSH 软件
sudo apt update
sudo apt install openssh-server
2、查看 SSH 状态、设置开启自启
# 查看ssh状态
sudo systemctl status ssh
# 设置
sudo systemctl enable --now ssh