Netbeans, git, reject hostKey?

前端 未结 1 730
清歌不尽
清歌不尽 2020-12-19 13:13

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: [

1条回答
  •  北荒
    北荒 (楼主)
    2020-12-19 14:05

    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 讨论(0)
提交回复
热议问题