首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >nix构建期间的SSH问题

nix构建期间的SSH问题
EN

Stack Overflow用户
提问于 2020-04-16 16:19:59
回答 1查看 280关注 0票数 0

错误文本:

代码语言:javascript
复制
neo@nixos ~/F/nixpkgs> nix-build -A haskellPackages.lambdabot-trusted
these derivations will be built:
  /nix/store/wf447rqgs02yxd4p1lazfzxijmyjc46h-lambdabot-139af15.drv
  /nix/store/437rz7m2hxl2p7lyla3zml8yjhs30w3k-lambdabot-trusted-5.2.drv
building '/nix/store/wf447rqgs02yxd4p1lazfzxijmyjc46h-lambdabot-139af15.drv'...
exporting git@github.com:lambdabot/lambdabot.git (rev 139af15281e815c79596ec1336b72c9ab416ba92) into /nix/store/qjb9kx6nviq2pn8v8yvyj9gypj0nhn89-lambdabot-139af15
Initialized empty Git repository in /nix/store/qjb9kx6nviq2pn8v8yvyj9gypj0nhn89-lambdabot-139af15/.git/
Could not create directory '/home/neo/.ssh'.
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Could not create directory '/home/neo/.ssh'.
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Unable to checkout 139af15281e815c79596ec1336b72c9ab416ba92 from git@github.com:lambdabot/lambdabot.git.
builder for '/nix/store/wf447rqgs02yxd4p1lazfzxijmyjc46h-lambdabot-139af15.drv' failed with exit code 1
cannot build derivation '/nix/store/437rz7m2hxl2p7lyla3zml8yjhs30w3k-lambdabot-trusted-5.2.drv': 1 dependencies couldn't be built
error: build of '/nix/store/437rz7m2hxl2p7lyla3zml8yjhs30w3k-lambdabot-trusted-5.2.drv' failed

目录/home/neo/.ssh存在(所以这个错误对我来说没有任何意义:Could not create directory '/home/neo/.ssh'.),它包含了我用来推送到GitHub的键。

上面它试图连接的GitHub存储库不是我拥有的,但它是公共的,只用于读取它。

有什么建议如何解决这个问题吗?

EN

回答 1

Stack Overflow用户

发布于 2020-04-16 16:41:43

最终起作用的是从SSH切换到HTTP URL。

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

https://stackoverflow.com/questions/61245686

复制
相关文章

相似问题

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