如何让NetBeans工作混帐? [英] How to get netbeans working git?

查看:169
本文介绍了如何让NetBeans工作混帐?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用托管在github上的资料库,但netbeans似乎使用了错误的指纹。所以我每次尝试克隆存储库时都会收到一个异常。
就像:UnknownHostKey:github.com。 RSA密钥指纹是xxxxxxxxxxxx等。
然后中止。任何想法?



我试过用tortisegit,它工作正常......但我认为它可以节省钥匙在自定义的地方。

解决方案

遇到同样的问题,但实际上将远程存储库的公钥存放在known_hosts中。我只是简单地通过调用 ssh github.com 来做到这一点 - 它会告诉你这个事实,即主机的真实性无法建立。如果你连接,主机公钥将被添加到已知的主机,并重新启动netbeans后,他们不再报告此错误,并正常工作。

希望这有助于

p>

I want to use a repository i hosted on github but it seems like netbeans uses a wrong fingerprint. So I get an Exception everytime I try to clone the repository. Its like : UnknownHostKey: github.com. RSA key fingerprint is xxxxxxxxxxxx etc. And it aborts. Any idea?

Ive tried it with tortisegit and it works fine ... but I think it saves the key on a custom place.

解决方案

had the same problem as you did, but actually putting the public key of the remote repository in known_hosts worked for me. I did this simply by calling ssh github.com - it will inform you about the fact, that the authenticity of the host can't be established. if you connect anyway, the host public key will be added to known hosts and after restarting netbeans, they no more report this error and work fine.

hope this helps

这篇关于如何让NetBeans工作混帐?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆