【问题标题】:Can not clone app from bitbucket by ssh无法通过 ssh 从 bitbucket 克隆应用程序
【发布时间】:2017-06-14 09:20:50
【问题描述】:

当我从服务器上的 bitbucket 克隆我的应用程序时,我不能。 我的克隆命令在这里

git clone git@bitbucket.org:kyohei0423/bookpicks.git

这是一些作为答案的消息

Cloning into 'bookpicks'...
fatal: 'bitbucketkyohei0423/bookpicks.git' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

我检查是否可以通过 ssh 登录 我用ssh登录了

$ ssh -T git@bitbucket.org
logged in as kyohei0423.
You can use git or hg to connect to Bitbucket. Shell access is disabled.

我还要尝试什么? 请告诉我。

谢谢

【问题讨论】:

  • 您可能应该显示您的克隆命令。您还希望如何获得帮助?
  • 您的克隆命令似乎有问题...
  • 感谢您的建议我显示我的克隆命令
  • GIT_SSH_COMMAND="ssh -vvv" git clone git@bitbucket.org:kyohei0423/bookpicks.git发布调试日志

标签: git ssh bitbucket


【解决方案1】:

作为替代解决方案,您可以尝试使用 BitBucket 提供的 HTTPS URL,它类似于 https://user@bitbucket.org/owner/project.git 此方法基于密码,让您无需配置 SSH 访问即可工作。

【讨论】:

    猜你喜欢
    • 2021-09-05
    • 1970-01-01
    • 1970-01-01
    • 2020-03-20
    • 1970-01-01
    • 2018-08-24
    • 1970-01-01
    • 2018-11-16
    相关资源
    最近更新 更多