Netbeans, git, reject hostKey?

谁说胖子不能爱 提交于 2019-12-29 07:54:09

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/6986617/netbeans-git-reject-hostkey

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!