原创 修改centos遠程端口

修改遠程端口(a) vi /etc/ssh/sshd_config將#port 22 這行改成你想要的端口 重啓SSH service sshd restart (b) firewall 加端口2022 service sshd