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 votes
Jason Worley Atlassian Team Apr 18, 2013

Greetings!

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:

https://confluence.atlassian.com/display/BITBUCKET/Clone+Your+Git+Repo+and+Add+Source+Files

Troubleshooting SSH:

https://confluence.atlassian.com/display/BITBUCKET/Troubleshooting+SSH+Issues

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.

Cheers,
Jason | Atlassian

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

433 views 6 9
Read article

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