How to set push local repository to bitbucket with egit?

Hello,

I have egit plugin installed on eclipse and when I was using github I had no issues. I am now trying to use egit at work and I noticed that people were recommending bitbucket. I follow all the original steps that you would to push to bitbucket.

1. Generate a RSA key in eclipse and save it

2. Take key and save it on bitbucket

3. In eclipse, create Remotes and configure the URI ssh://git@bitbucket.org/username/helloworld.git

4. In eclipse, save and push

I then get some weird error message:

ssh://git@bitbucket.org/accountname/helloworld.git: The server's host key is not
cached in the registry. You
have no guarantee that the server is the computer you think it is.
The server's rsa2 key fingerprint is
ssh-rsa 2048 97:8c:1b:f2:6f:14:6b:5c:3b:ec:

aa:46:46:74:7c:40
Connection abondoned

What should I do next? What is the issue?

1 answer

1 accepted

By the way this is a windows 7 machine

I am unsure what the error was saying, so I did trial and error. I was able to get egit to work with bitbucket on another computer. I then realized that the computer that was able to push didn't have plink installed. I unstalled plink then I noticed that eclipse was trying to find plink because a error was popping up.

So, I deleted the installed version of eclipse. Then moved over a fresh copy of eclipse that had egit installed. Added the existing key to eclipse. Made sure the key was in bitbucket. Then created new local respository and then configured the remote for the bitbucket repository.

It works now....

So the issue was that plink some how was interconnect to eclipse and the place in eclipse that manages the keys isn't used by plink. So, I managed to remove plink completely.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,928 views 26 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you