一、查看防火墙状态
chkconfig --list iptables
二、如果防火墙没有关闭,如上面显示,要关闭防火墙
临时关闭
service iptables stop
永久关闭
chkconfig iptables off
三、删除防火墙
chkconfig --del iptables
四、开启ssh功能
service sshd start
一、查看防火墙状态
chkconfig --list iptables
二、如果防火墙没有关闭,如上面显示,要关闭防火墙
临时关闭
service iptables stop
永久关闭
chkconfig iptables off
三、删除防火墙
chkconfig --del iptables
四、开启ssh功能
service sshd start
转载于:https://my.oschina.net/u/3197158/blog/1036524