开机自启服务【运行级别】
1、chkconfig --list (查看所有启动项)

2、chkconfig sshd on (设置其开机启动)

3、chkconfig sshd off (设置其开机关闭)

4、chkconfig --level 3 sshd on(设置单个)
chkconfig --level 345 sshd on (同时设置多种运行模式下启动)

1、chkconfig --list (查看所有启动项)

2、chkconfig sshd on (设置其开机启动)

3、chkconfig sshd off (设置其开机关闭)

4、chkconfig --level 3 sshd on(设置单个)
chkconfig --level 345 sshd on (同时设置多种运行模式下启动)
