在Linux下启动ssh服务使用以下命令其一便可:linux
# service sshd start # /etc/init.d/sshd start
使用以下方法其就能够。markdown
可使用chkconfig添加运行级别。如:运维
chkconfig
# chkconfig sshd on
能够将命令添加到/etc/rc.local文件的末尾便可。ssh
/etc/rc.local
要添加的命令是最上面介绍的任一命令。spa
更多请参考Linux运维。code