开发者

Netbeans, git, reject hostKey?

开发者 https://www.devze.com 2023-03-26 13:11 出处:网络
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:

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.

Wh开发者_开发知识库at 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消