On a server I faced with an issue:
在我遇到问题的服务器上:
$ git pull origin branch1:branch1
Password:
error: The requested URL returned error: 401 while accessing https://123@bitbucket.org/123/456.git/info/refs
fatal: HTTP request failed
The web site isn't mine but I'm working on it. I know the credentials: user login and password and login and password for ssh access. I provided the password of the user I was logged in by. And it seemed it turned out to be wrong, so it asked me about some other password. Which one?
该网站不是我的,但我正在努力。我知道凭证:用户登录和密码以及ssh访问的登录名和密码。我提供了我登录的用户的密码。它似乎是错的,所以它问我一些其他密码。哪一个?
1 个解决方案
#1
1
it asked me about some other password. Which one?
它问了我一些其他密码。哪一个?
With an url like https://123@bitbucket.org, it is asking you about the password of the account 123 on bitbucket (nothing to do with ssh passphrase).
使用像https://123@bitbucket.org这样的网址,它会询问您关于bitbucket帐户123的密码(与ssh密码无关)。
#1
1
it asked me about some other password. Which one?
它问了我一些其他密码。哪一个?
With an url like https://123@bitbucket.org, it is asking you about the password of the account 123 on bitbucket (nothing to do with ssh passphrase).
使用像https://123@bitbucket.org这样的网址,它会询问您关于bitbucket帐户123的密码(与ssh密码无关)。