请帮助我在使用Divio App尝试使其工作时遇到麻烦。
当我按“设置项目”时
它给我这个

*

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 [email protected]:iloveit.git /c/Users/Ubisoft/Documents/iloveit

*

在Windows Power Shell中,它给了我
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 [email protected]:iloveit.git /c/Users/Ubisoft/Documents/iloveit

[email protected] /c/Users/Ubisoft/Documents
$

我也从虚拟MacOS尝试过此操作,并收到以下消息:

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

我也尝试过创建SSH密钥,但没有成功。

有人可以一步一步给我解释如何使这个出色的应用程序正常工作吗?

最佳答案

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

Bad owner or permissions on /home/divio/.ssh/config

我不确定这是怎么发生的,但这是阻止您的本地环境向Divio控制面板提供预期键的原因。

在Macintosh示例中,环境没有“控制面板”知道的键。

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

关于django - Divio App创建项目目录和克隆存储库的麻烦,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/59367228/

10-13 08:42