标签:ble status 重启 开机启动 ssh服务 mct init 服务 bsp
1.查看SSH服务
serveice sshd status
--> Checking for service sshd running
2.开启SSH服务
service sshd start
--> starting SSH daemon
3.临时关闭防火墙(环境重启之后,防火墙又会关闭)
rcSuSEfirewall2 stop
4.永久关闭防火墙
chkconfig SuSEfirewall2_init off
chkconfig SuSEfirewall2_setup off
分操作系统
SUSE11下:
关闭操作为:
service SuSEfirewall2_setup stop
service SuSEfirewall2_init stop
取消开机启动防火墙:
chkconfig SuSEfirewall2_init off
chkconfig SuSEfirewall2_setup off
启动操作为:
service SuSEfirewall2_setup start
service SuSEfirewall2_init start
取消开机启动防火墙:
chkconfig SuSEfirewall2_init on
chkconfig SuSEfirewall2_setup on
suse12下操作为:
关闭防火墙
systemctl stop SuSEfirewall2.service
取消开机启动防火墙
systemctl disable SuSEfirewall2.service
开启防火墙
systemctl enable SuSEfirewall2.service
开机启动防火墙
systemctl start SuSEfirewall2.service
标签:ble status 重启 开机启动 ssh服务 mct init 服务 bsp
原文地址:https://www.cnblogs.com/ricebug2/p/11616089.html