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