ssh 禁用 root 密码认证,仅允许通过 SSH 密钥登录 服务端 编辑/etc/ssh/sshd_config 修改关键配置项为如下目标值 PermitRootLogin prohibit-password 或