parent
ff6c5b62ae
commit
e957daf129
|
@ -120,11 +120,11 @@ UsePAM yes
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# 开机自运行
|
# 开机自运行
|
||||||
systemctrl enable sshd.service
|
systemctl enable sshd.service
|
||||||
# 启动 sshd 服务
|
# 启动 sshd 服务
|
||||||
systemctrl start sshd.service
|
systemctl start sshd.service
|
||||||
# 查看 sshd 服务状态
|
# 查看 sshd 服务状态
|
||||||
systemctrl status sshd.service
|
systemctl status sshd.service
|
||||||
# 或(ubuntu12)
|
# 或(ubuntu12)
|
||||||
/etc/init.d/ssh restart
|
/etc/init.d/ssh restart
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue