【问题标题】:How to import project from git in AIDE?如何在 AIDE 中从 git 导入项目?
【发布时间】:2016-09-11 17:15:33
【问题描述】:

我在 bitbucket 上创建了私有 repo,并添加了来自 PuTTY Key Generator 的公钥。

使用 TortoiseGIT 我已经设法从 PC 推送我的项目,然后我想从 AIDE 中提取它。因此,我在 /sdcard 上创建了 .ssh 文件夹,并确保该位置位于 Git Source Control -> .ssh directory 设置中,并复制了从 PuTTY Key Generator 导出的文件(为了确定,私有和公共)

然后我选择了Clone Git repository,提供了 URL 并尝试克隆。出现错误:Git clone failed: session is down

【问题讨论】:

    标签: git bitbucket aide-ide android-ide


    【解决方案1】:

    所以我想通了。如果有人遇到同样的问题,这里是解决方案

    PuTTY Key Generator生成密钥后按如下方式保存文件:

    1. 公钥:
      • 复制Public key for pasting into OpenSSH authorized_keys file的内容
      • 粘贴到记事本并保存为filename.pub
    2. 私钥:
      • Conversions 选项卡 -> Export OpenSSH key
      • 另存为id_rsa
    3. 将这两个文件复制到/sdcard/.ssh,它应该可以工作

    Here's 私钥导出的图像,以防有人感到困惑。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-08-07
      • 2014-02-27
      • 1970-01-01
      • 1970-01-01
      • 2011-06-19
      • 1970-01-01
      • 2014-09-15
      • 2013-01-15
      相关资源
      最近更新 更多