SSH登录提示
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
修改被登录的SSH服务器ssh配置,/etc/ssh/sshd_config,保证以下配置
- PermitRootLogin yes - UsePAM yes - PasswordAuthentication - PubkeyAuthentication yes - AuthorizedKeysFile .ssh/authorized_keys
重启ssh服务
systemctl restart sshd.service
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).错误的解决