permitrootlogin
permitrootlogin
2024年1月25日
ID 179796
该命令可让您允许或拒绝 root
账户使用 SSH 访问 SVM。
新设置将在 SVM 重启或 SSH 服务重启后应用(manageservices restart sshd
命令)。
设置
<AllowOrNot> = yes|no
– 可能的值:
- yes – 允许
root
账户使用 SSH 访问 SVM。 - no – 拒绝
root
账户使用 SSH 访问 SVM。示例:
> ssh klconfig@10.16.98.17 permitrootlogin yes
> klconfig@10.16.98.17’s password:
Permit root login = yes
KLCONFIG OK
具体错误
无。
Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.