gitlab - git ssh pulls the code and reports an error, the http method is OK
高洛峰
高洛峰 2017-05-02 09:40:03
0
0
731

A project placed on gitlab
When I use the git@... address of the ssh protocol to pull the code, it prompts:

Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

It can be pulled using http protocol,
My ssh public key file has been configured and can be used

Host XXX.com
    HostName XXX.com
    PreferredAuthentications publickey
    IdentityFile ~/.ssh/id_rsa

The code can be pulled now, but I don’t know what the problem is?

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template