How to get netbeans to work git?

I want to use a repository hosted on github, but it looks like netbeans is using the wrong fingerprint. So I get an exception every time I try to clone a repository. Its kind of: UnknownHostKey: github.com. RSA key fingerprint - xxxxxxxxxxxx etc. And he is interrupted. Any ideas?

Ive tried this with tortisegit and it works great ... but I think it saves the key in the usual place.

+3
source share
2 answers

I ran into a similar issue when accessing my own git server from NetBeans on Windows. To fix this, I manually created the known_hosts file in "c: \ Documents and Settings \ myusername \ .ssh" and put a record of my git server host. (I got this entry from another linux box, where am I doing ssh on git server)

After rebooting NetBeans, it happened! I could clone my git repository using the gitosis @ my- git -server url: my_porject

My setup is

I use NetBeans 6.9.1 on Windows XP.
In dir c:\Documents and Settings\myusername\.ssh, I have -
id_rsa
id_rsa.pub
known_hosts
(id_rsa and id_rsa.pub - same keys I was using on my linux box)
+1
source

, , known_hosts . , ssh github.com - , . , , netbeans .

,

+1

Source: https://habr.com/ru/post/1758910/


All Articles