禁用SSH的密码身份验证
我访问密码提示的注意寻找一种方法来禁用SSH客户端在这里。 我无法禁用root登录password:提示。我已将文件更改为:sshd_config ChallengeResponseAuthentication no PasswordAuthentication no UsePAM no 并且还更改了权限chmod 700 ~/.ssh和chmod 600 ~/.ssh/authorized_keys。我想念什么?这是否需要我输入密码? 详细转储: debug1: Authentications that can continue: publickey,password debug1: Next authentication method: publickey debug1: Offering RSA public key: /home/user/.ssh/id_rsa debug1: Authentications that can continue: publickey,password debug1: Trying private key: /home/user/.ssh/id_dsa debug1: Trying private key: /home/user/.ssh/id_ecdsa debug1: Next authentication …