我在这里问是因为我不想被锁定在我的服务器之外。
我不想让 root 登录到 ssh,但是如果用户输入“su”命令,我希望他们能够成为 root。那么我是否将 root 包含在 sshd_config 的“AllowUsers”部分?
openssh sshd
openssh ×1
sshd ×1