Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get netbeans working git?

Tags:

git

ssh

netbeans

I want to use a repository i hosted on github but it seems like netbeans uses a wrong fingerprint. So I get an Exception everytime I try to clone the repository. Its like : UnknownHostKey: github.com. RSA key fingerprint is xxxxxxxxxxxx etc. And it aborts. Any idea?

Ive tried it with tortisegit and it works fine ... but I think it saves the key on a custom place.

like image 678
lain Avatar asked Feb 25 '26 22:02

lain


1 Answers

I faced similar issue while accessing my own git server from NetBeans on windows. To fix this I created known_hosts file manually in "c:\Documents and Settings\myusername\.ssh" and put entry of my git server host. (I got this entry from other linux box from where I do ssh to git server)

After restarting NetBeans it wokred! I could clone my git repository using URL gitosis@my-git-server:my_porject

My setup -

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)
like image 189
i.scorpion Avatar answered Feb 27 '26 23:02

i.scorpion



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!