将启动命令添加到/etc/rc.local文件中或者/etc/rc.d/rc.local文件中;

vi

添加内容如下:

service

或者:

/etc/init.d/sshd start