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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

2,006 views 1 5
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