权限被拒绝(publickey,gssapi-keyex,gssapi-with-mic,密码)。在git

时间:2015-10-26 08:34:46

标签: git

我在windows xp之后在我的电脑上安装了Windows 7并且我再次设置了git,我已将pub文件发送给admin并且他已更新我的pub文件。

然后我也得到以下问题

git pull origin master
git@19.2.2.2's password:
Permission denied, please try again.
git@19.2.2.2's password:
Permission denied, please try again.
git@19.2.2.2's password:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
fatal: Could not read from remote repository.
  

请确保您拥有正确的访问权限   存储库存在。

我现在无法进行基本的git pull或git clone 管理员说他已经完成了所有必要的工作。

问题是什么?

1 个答案:

答案 0 :(得分:1)

管理员没有正确注册您的公钥,或者您自己的公钥没有像git期望的那样在正确的位置定义。

确保您的密钥是由Git Bash中提供的ssh-keygen命令生成的。

相关问题