venus
venus

Reputation: 75

How to fix ssh authentication error while working with Eclipse and Git

I am using Git, Eclipse and Bitbucket. I am able to commit and push using command line. When I try to push any file from Eclipse I will get error as:

ssh://<giturl>.git: No more authentication methods available

Although using Eclipse I am able to add and commit that file just not able to push. What could be possible reason?

Upvotes: 5

Views: 5746

Answers (1)

Abhishek Bajpai
Abhishek Bajpai

Reputation: 101

Add your git account private key to eclipse. Go to:

  • Preferences -> General -> Network Connections -> SSH2
    • Choose .ssh home
    • Choose Private key/s
    • Apply and Close

Retry commit

Upvotes: 10

Related Questions