update:server

This commit is contained in:
Dich
2025-04-29 14:25:34 +08:00
parent 919112125a
commit 55a21bf599

View File

@ -163,7 +163,7 @@ sudo systemctl restart sshd
```
重启SSH即可禁用密码登录
- 将**PermitRootLogin prohibit-password**改为**prohibit-password**即可实现仅root用户密钥登录
- 将**PermitRootLogin**一栏改为**PermitRootLogin prohibit-password**即可实现仅root用户密钥登录
- 使用以下命令查看输出,
```