diff --git a/content/about-server-set.md b/content/about-server-set.md index 5c44f7e..e3f0c9c 100644 --- a/content/about-server-set.md +++ b/content/about-server-set.md @@ -163,7 +163,7 @@ sudo systemctl restart sshd ``` 重启SSH即可禁用密码登录; -- 将**PermitRootLogin prohibit-password**改为**prohibit-password**,即可实现仅root用户密钥登录; +- 将**PermitRootLogin**一栏改为**PermitRootLogin prohibit-password**,即可实现仅root用户密钥登录; - 使用以下命令查看输出, ```