# 第一步:更新
sudo apt update
# 第二步:安装ssh
sudo apt install openssh-server
# 第三步:开启ssh
sudo systemctl status ssh
# 第四步:关闭防火墙
sudo ufw allow ssh
Ubuntu开启ssh服务
最新推荐文章于 2024-05-30 19:16:06 发布
# 第一步:更新
sudo apt update
# 第二步:安装ssh
sudo apt install openssh-server
# 第三步:开启ssh
sudo systemctl status ssh
# 第四步:关闭防火墙
sudo ufw allow ssh