Ubuntu开启远程ssh端口
无法ssh远程访问ubuntu系统,需执行两步
1.安装openssh-server
2.防火墙开启22端口
sudo apt-get install openssh-server
sudo apt-get install ufw
sudo ufw enable
sudo ufw allow 22
ps -e |grep ssh
无法ssh远程访问ubuntu系统,需执行两步
1.安装openssh-server
2.防火墙开启22端口
sudo apt-get install openssh-server
sudo apt-get install ufw
sudo ufw enable
sudo ufw allow 22
ps -e |grep ssh