首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Divio应用程序创建项目目录和克隆存储库的麻烦

Divio应用程序创建项目目录和克隆存储库的麻烦
EN

Stack Overflow用户
提问于 2019-12-17 03:29:06
回答 2查看 464关注 0票数 1

请帮助我有麻烦的Divio应用程序试图使它的工作。当我按下“设置项目”时,它给了我这个

*

代码语言:javascript
运行
复制
Creating workspace
cloning project repository
Cloning into '/c/Users/Ubisoft/Documents/iloveit'...
Bad owner or permissions on /home/divio/.ssh/config
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
There was an error trying to run a command. This is most likely
not an issue with divio-cli, but the called program itself.
Try checking the output of the command above.
The command was:
  git clone git@git.divio.com:iloveit.git /c/Users/Ubisoft/Documents/iloveit

*

在窗户的动力壳里它给了我这个

代码语言:javascript
运行
复制
Creating workspace

cloning project repository
Cloning into '/c/Users/Ubisoft/Documents/iloveit'...
Bad owner or permissions on /home/divio/.ssh/config
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
------------------------------------------------------------------------------------------------------------------------
There was an error trying to run a command. This is most likely
not an issue with divio-cli, but the called program itself.
Try checking the output of the command above.
The command was:
  git clone git@git.divio.com:iloveit.git /c/Users/Ubisoft/Documents/iloveit

divio@app-1.0.0 /c/Users/Ubisoft/Documents
$

我还尝试了从虚拟MacOS中获得以下消息:

https://i.stack.imgur.com/QccvY.png

我还试图在创建SSH密钥时搞砸,但没有成功。

有人能给我一步一步的解释如何使这个奇妙的应用程序工作吗?

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2019-12-18 08:41:01

对于任何可能面临这个问题的人来说。在我的MacOS虚拟机上,我设法找到了解决方案。看来是互联网服务提供商阻塞了端口22,类似的情况。好吧看起来问题解决了。我使用VPN,没有任何仓促与SSH,我得到了不同的结果。看起来它现在正在工作,还没有完成创建项目,但是很有希望:

代码语言:javascript
运行
复制
Creating workspace

cloning project repository
Cloning into '/Users/johnwick/Documents/best-project'...
Locking the website...
remote: Counting objects: 785, done.
remote: Compressing objects: 100% (739/739), done.
Unlocking the website...(385/785), 1.05 MiB | 524.00 KiB/s
remote: Total 785 (delta 112), reused 0 (delta 0)
Receiving objects: 100% (785/785), 1.77 MiB | 448.00 KiB/s, done.
Resolving deltas: 100% (112/112), done.
Checking out files: 100% (615/615), done.
downloading remote docker images
Pulling db  ... done
Pulling web ... done
building local docker images
db uses an image, skipping
Building web
Step 1/7 : FROM divio/base:4.15-py3.6-slim-stretch
4.15-py3.6-slim-stretch: Pulling from divio/base
票数 0
EN

Stack Overflow用户

发布于 2019-12-17 09:39:23

在您展示的Windows示例中,我看到:

代码语言:javascript
运行
复制
Bad owner or permissions on /home/divio/.ssh/config

我不确定这是如何发生的,但这正是阻止您的本地环境向Divio控制面板提供预期密钥的原因。

在Macintosh示例中,环境中没有控制面板所知道的密钥。

您需要将密钥(可能来自~/.ssh/rsa_id.pub)添加到https://control.divio.com/account/ssh-keys/中。如果在Macintosh环境中还没有密钥,则需要设置一个密钥。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/59367228

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档