增加 Ubuntu12 下启动 sshd 服务方法.
Signed-off-by: ithink.chan <chenyang@autoai.com>
This commit is contained in:
parent
afaf40e8fb
commit
c662f37780
|
@ -114,6 +114,8 @@ systemctrl enable sshd.service
|
|||
systemctrl start sshd.service
|
||||
# 查看 sshd 服务状态
|
||||
systemctrl status sshd.service
|
||||
# 或(ubuntu12)
|
||||
/etc/init.d/ssh restart
|
||||
```
|
||||
|
||||
如果没有 systemd,可以使用如下命令:
|
||||
|
|
Loading…
Reference in New Issue