Bitbucket and Eclipse: file not found privatekeyfile

I setup a project on bitbucket using my desktop and uploaded some files. It's been working just fine.

I then tried to setup a clone on my laptop (MacBook Pro). I got so far as getting the files off of bitbucket to my laptop. I editted some files using my laptop and did a commit on them. When I try to push I get an error saying.

FileNotFoundException: /Users/<username>/.ssh/privatekeyfile (no such file or directory).

I know that privatekeyfile is not there. The rsa key is called id_rsa. I guess I need to tell eclipse to look for id_rsa but how do I do that? Also, why was I able to clone at first?

1 answer

0 vote
Jason Worley Atlassian Team Apr 18, 2013


Although troubleshooting Eclipse is not our area of expertise, we can typically sort out any SSH connections and/or repo cloning issues. That being said, the best recommendation would be to review these troubleshooting guides.

Cloning a Repo:

Troubleshooting SSH:

Following the steps in the above links typically addresses most issues - or if anything will identify exactly where the problem lies and usually once you have that, you can generally move forward or at a minimum, explore further options.

Hopefully you already solved it, if not, I hope this info gets you on the right path.

Jason | Atlassian

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...

27,625 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