修正错误命令.

Signed-off-by: rick.chan <chenyang@autoai.com>
This commit is contained in:
rick.chan 2020-07-02 13:48:26 +08:00
parent ff6c5b62ae
commit e957daf129
1 changed files with 3 additions and 3 deletions

View File

@ -120,11 +120,11 @@ UsePAM yes
```bash
# 开机自运行
systemctrl enable sshd.service
systemctl enable sshd.service
# 启动 sshd 服务
systemctrl start sshd.service
systemctl start sshd.service
# 查看 sshd 服务状态
systemctrl status sshd.service
systemctl status sshd.service
# 或ubuntu12
/etc/init.d/ssh restart
```