腻子的git clone失败

Peer Sommerlund

我正在尝试使用ssh从bitbucket克隆一个git存储库。它在https上可以很好地工作,但是我不断得到以下结果

> git clone [email protected]:PATH/TO/MY/REPOSITORY.git
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 2048 97:8c:1b:f2:6f:14:6b:5c:3b:ec:aa:46:46:74:7c:40
Connection abandoned.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

我使用正确的键和GIT_SSH = C:\ Program Files(x86)\ Putty \ plink.exe运行选美

Peer Sommerlund

我一直在猜测某种访问权限问题,但真正的问题是未知主机。

要解决此问题,只需执行

putty [email protected]

这将启动一个终端窗口和一个对话框,使您有机会接受服务器指纹。之后,先前的克隆命令将按原样工作。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

git clone-递归失败

删除/删除.deb下载文件以及可能的git clone腻子

Gnutls握手失败了git clone

git clone:<URL>的身份验证失败

如何检测bash脚本中的git clone是否失败

git clone在Windows,本地网络上失败

git svn clone失败,无法在以下位置截断文件

VSTS(Azure Devops)的ssh -T成功认证,但git clone失败

HTTP上的`git clone`失败,显示“未找到存储库”

git svn clone失败,并显示“无法删除路径”

git clone始终失败,并显示“无法发送HTTP请求”

git clone和apt错误:gnutls_handshake()失败

git clone失败,并显示“致命:内存不足,malloc失败”错误

Git Clone失败-致命:远端意外挂断。致命:早期EOF致命:索引包失败

使用腻子或gitbash时某些命令失败

git clone有效;git子模块失败“权限被拒绝”

为什么使用 HTTPS 时 git clone 失败但使用 git 协议成功

Pkg.add(“ IJulia”)产生“错误:失败的进程Process(`git clone ...“

git clone错误:gnutls_handshake()失败:接收到意外的TLS数据包

git clone成功,但检出失败;由于文件夹具有前导或尾随空格

Shell:如果文件夹已经存在,请不要使git clone失败

通过“哑” http协议进行的git clone失败,找不到存储库

git clone在VM中的msys2下失败并显示“坏对象”

当 git clone 工作时,Go mod tidy 在私有存储库上失败

使用腻子在Windows上的Git mergetool融合

运行`ansible-galaxy install -r requirements.yml`时`git clone`在私有git repo中的角色失败

输入URL字段时,出现错误“远程URL测试失败:不支持协议'git clone HTTPS'”

运行命令“gatsby new gatsby-site”时出现 git clone 错误 - 命令失败,退出代码为 1 (EPERM):

在AWS EC2实例上的dockerfile中将git clone作为主机和私有git存储库运行时,主机验证失败错误