windows – Git clone/pull持续冻结“缓存中的Store key?”
发布时间:2020-12-13 20:48:13 所属栏目:Windows 来源:网络整理
导读:我正在尝试将我的BitBucket帐户的repo克隆到我的Windows 10笔记本电脑(运行GitBash).我已经完成了连接所需的所有步骤(设置我的SSH密钥,通过成功SSHing git@bitbucket.org等进行验证).但是,每当我尝试克隆一个repo时,在确认我想要缓存Bitbucket的密钥后,提示
我正在尝试将我的BitBucket帐户的repo克隆到我的Windows 10笔记本电脑(运行GitBash).我已经完成了连接所需的所有步骤(设置我的SSH密钥,通过成功SSHing git@bitbucket.org等进行验证).但是,每当我尝试克隆一个repo时,在确认我想要缓存Bitbucket的密钥后,提示会不断挂起.
User@Laptop MINGW64 /C/Repos $git clone git@bitbucket.org:mygbid/test.git Cloning into 'test'... 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 If you trust this host,enter "y" to add the key to PuTTY's cache and carry on connecting. If you want to carry on connecting just once,without adding the key to the cache,enter "n". If you do not trust this host,press Return to abandon the connection. Store key in cache? (y/n) y 没有文件被克隆,结果是一个空的repo.尝试从此repo启动git pull origin master也要求缓存密钥,然后挂起而没有反馈.尽管在我进行测试SSH时没有要求缓存密钥,但git操作总是在每次失败之前都要求密钥. 由于没有错误消息可以使用,我真的不知道出了什么问题.我尝试过多次回购,包括非常小的回购,但根本没有成功.
在Windows 10上克隆repo时我遇到了这个问题.
我通过使用Putty GUI来连接到有问题的服务器(在您的情况下:bitbucket.org),然后在提示询问您是否要将服务器密钥保存到缓存时单击“是”.再次运行克隆命令然后为我工作! (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- windows – cygwin中的vim病原体出错
- Windows Azure中的作业调度在c#.net中
- 如何在Windows Phone上更改C#中的本地化?
- group-policy – 通过GPO或PowerShell部署二进制十六进制注
- windows-phone-8 – 我可以用什么来替换Windows Phone 8中的
- windows – DNS无法解析主机名; nslookup可以
- windows – Wix – 在安装结束时运行exe(带参数),当前MSI没
- 我需要仅使用本机Windows命令在批处理环境变量中匹配或替换
- windows-xp – 可以恢复Active Directory中的密码更改吗?
- 在Windows上使用perl脚本而不安装ActivePerl?