bitbucket身份验证失败

时间:2016-07-05 17:08:30

标签: git bitbucket

我将代码保存在bitbucket中。没有警告git pull只是挂起,经过漫长的等待后说要检查我是否有权访问。我登录bitbucket网站的工作正常。

  1. 删除bitbucket.org的所有钥匙串条目并手动重新登录并没有任何帮助。
  2. 遵循缓存凭据的说明也没有帮助: https://confluence.atlassian.com/bitbucketserver/permanently-authenticating-with-git-repositories-776639846.html#PermanentlyauthenticatingwithGitrepositories-Usingcredentialcaching
  3. 我找不到用于检查身份验证状态的git命令。 Atlassian最近将bitbucket帐户与atlassian帐户合并。还有其他人找到了解决方案吗?

    我在mac osx 10.11.5上。埃尔卡皮坦。

    我得到的错误是:

    git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch origin 
    ssh: connect to host bitbucket.org port 22: Operation timed out 
    Here's the error message delivered after several minutes: 
    fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 
    Completed with errors, see above
    

1 个答案:

答案 0 :(得分:1)

ssh: connect to host bitbucket.org port 22: Operation timed out

您的计算机无法连接。尝试运行traceroute bitbucket.org以查看问题所在。也许重启你的路由器。无论哪种方式,问题都不是使用auth而是首先是连接。