: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)
时间: 2023-11-14 17:50:43 浏览: 102
ubuntu16.04下使用idea时,上传自建git库是遇到的问题(Permission Denied (publickey)和)及解决
This error message typically occurs when attempting to connect to a remote server using SSH (Secure Shell) and the server is not recognizing your authentication credentials.
The error message indicates that the server is rejecting all available authentication methods, including public key authentication, GSSAPI key exchange, and password authentication.
To resolve this issue, you can try the following steps:
1. Make sure you have the correct username and password to log in to the remote server.
2. If you are using key-based authentication, make sure you have added your public key to the server's authorized keys list.
3. Check the server's SSH configuration file (/etc/ssh/sshd_config) to ensure that the allowed authentication methods are correctly specified. You may need to contact your system administrator for assistance with this step.
4. If the server is configured to use a firewall, make sure that the required ports (typically 22 for SSH) are open.
If none of these steps resolve the issue, you may need to contact the system administrator for the remote server for further assistance.
阅读全文