1.查看IP地址
ip addr
2.查看22 端口
netstat -ntlp|grep 22
3.开启22端口
apt-get install openssh-server
ufw enable
ufw allow 22/tcp
1.查看IP地址
ip addr
2.查看22 端口
netstat -ntlp|grep 22
3.开启22端口
apt-get install openssh-server
ufw enable
ufw allow 22/tcp