Linux启动ssh服务

Linux启动ssh服务

在Linux下启动ssh服务使用如下命令其一即可:

# service sshd start
# /etc/init.d/sshd start

开机启动

使用如下方法其就可以。

chkconfig

可以使用chkconfig添加运行级别。如:

# chkconfig sshd on

更改启动脚本

可以将命令添加到/etc/rc.local文件的末尾即可。

要添加的命令是最上面介绍的任一命令。

更多请参考Linux运维

原文地址:https://www.cnblogs.com/furzoom/p/7710288.html