Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Connect to Git from Eclipse?

Hi,

 

I have a repository in Bitbucket I can easily access from the command line in a Linux environment, from SourceTree, from any browser (Firefox, Safari, ...) but I cannot clone any of my repository in Eclipse (via EGIT plugin, latest version available).

I have tried to use the password I use when accessing bitbucket, but nothing really works.

 

I got few different errors like:

- non authorised, but the password I use is the same.

Is there any additional step I need to perform in order to clone repositories in Eclipse? (I have the two-factors authentication enabled).

 

Thanks,

Luca

1 answer

0 votes

Hello @Luca Stoppa,

Welcome to the Community!

If you have two-step authentication enabled, you can't use your regular password for accessing your repositories. There're two options here: use SSH instead of HTTPS (you had to set up SSH in order to turn 2SV on) or an app password.

Hope this helps. Let me know if you have any questions.

Cheers,
Daniil

Hi,

yes! Using ssh (and having Eclipse set to correctly pick up my priva keys in ~/.ssh fixed the issue).

Thanks a lot!

Like Daniil Penkin likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,849 views 0 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you