From c662f37780b8fc1249f0957e937f15e0bd4bab94 Mon Sep 17 00:00:00 2001 From: "ithink.chan" Date: Mon, 27 Apr 2020 14:12:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20Ubuntu12=20=E4=B8=8B?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=20sshd=20=E6=9C=8D=E5=8A=A1=E6=96=B9?= =?UTF-8?q?=E6=B3=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ithink.chan --- Software/Applications/SSH/Linux_SSH_服务的安装和使用.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Software/Applications/SSH/Linux_SSH_服务的安装和使用.md b/Software/Applications/SSH/Linux_SSH_服务的安装和使用.md index a07f436..12b4ce8 100644 --- a/Software/Applications/SSH/Linux_SSH_服务的安装和使用.md +++ b/Software/Applications/SSH/Linux_SSH_服务的安装和使用.md @@ -114,6 +114,8 @@ systemctrl enable sshd.service systemctrl start sshd.service # 查看 sshd 服务状态 systemctrl status sshd.service +# 或(ubuntu12) +/etc/init.d/ssh restart ``` 如果没有 systemd,可以使用如下命令: