以开放8080端口为例: 方式一: 1、开启防火墙 systemctl start firewalld 2、开…
一、更改ssh端口 1、更改sshd配置文件 echo Port 4000 >>/etc/ssh/…