/etc/ssh/sshd_config PermitRootLogin 默认注释掉是yes. 要是改成PermitRootLogin no 就 无法使用 root 用户通过 SSH 远程登录 需要用其他用户登录后sudo - 进入root