Git一直要求提供不存在的密码

时间:2015-09-22 14:30:07

标签: windows git ssh gitlab

我无法让任何Git命令正常工作。 我重新安装了与Git相关的所有内容,看它是否更好,但现在我甚至无法克隆项目。 Git一直要求输入密码,而且没有密码。

c:\Users\bls\Git>git clone -v gitlab@svn.faktab.net:pospayclient/api.git
16:14:29.129279 git.c:348               trace: built-in: git 'clone' '-v' 'gitlab@svn.faktab.net:pospayclient/api.git'
Cloning into 'api'...
16:14:29.199280 run-command.c:335       trace: run_command: 'ssh' 'gitlab@svn.faktab.net' 'git-upload-pack '\''pospayclient/api.git'\'''
gitlab@svn.faktab.net's password:
Permission denied, please try again.
gitlab@svn.faktab.net's password:
Permission denied, please try again.
gitlab@svn.faktab.net's password:
Permission denied (publickey,password,keyboard-interactive).
fatal: Could not read from remote repository.

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

我从经验中知道,当Git要求输入不存在的密码时,问题可能是

  • A)SSH密钥不匹配 - 此密钥在
  • 之前有效
  • B)项目地址错误 - 我确定地址是正确的
  • C)SSH密钥尚未添加到SSH代理 - 我的同事从不使用SSH代理,至少不能手动使用。

其他可能的原因?

1 个答案:

答案 0 :(得分:-1)

通过制作新密钥

以某种方式解决了问题
相关问题