Netbeans,git,拒绝hostKey? [英] Netbeans, git, reject hostKey?

查看:89
本文介绍了Netbeans,git,拒绝hostKey?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正试图让Netbeans的Git插件工作。
如果我想从Netbeans中克隆我的git仓库,我得到错误消息:
拒绝hostKey:[仓库url]
和克隆中止。



这是什么意思,我该如何解决它? 您需要检查哪个用户正在运行NetBeans,然后确保您的ssh私钥和公钥( id_rsa id_rsa.pub )位于该用户的相关 HOME / .ssh 中。



请注意,在Windows上, HOME 默认情况下未定义,因此您需要在运行Netbeans之前设置该变量。


I'm currently trying to get Netbeans with the Git plugin working. If I want to clone my git repository from within Netbeans I get the error message: reject hostKey: [repository url] and the cloning aborts.

What does this mean and how do I fix it?

解决方案

You need to check what user is running NetBeans, and then make sure your ssh private and public keys (id_rsa and id_rsa.pub) are in the associated HOME/.ssh of that user.

Note that on Windows, HOME isn't defined by default, so you need to set that variable before running Netbeans.

这篇关于Netbeans,git,拒绝hostKey?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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