CentOS7修改默認ssh端口22

CentOS7修改默認ssh端口22 1.查看防火牆狀態firewall-cmd --state或者systemctl status firewalld爲running(centos默認是firewalld).如果不是running使用systemctl start firewalld 開啓並設置開機自啓systemctl enable firewalld; 2.查看firewall-cmd --
相關文章
相關標籤/搜索