sudo apt update
sudo apt-get install openssh-server -y
sudo ps -e |grep ssh #(有反应则服务已启动)
sudo apt install net-tools
sudo systemctl stop ufw #(永久关闭防火墙)
sudo systemctl disable ufw #(禁止防火墙自启)
ifconfig #(可以查看地址用于远程连接)
Ubuntu开启远程ssh
于 2024-05-05 23:27:34 首次发布