So I just found out that you can get the entire repository without logging into bitbucket. Obviously I don't want that happening. I have set up SSH keys to use with Git and that works fine.
How can I prevent anyone from accessing my stuff?
When you set up SSH for your Bitbucket account, you're able to use the SSH private key for authentication. This means that it's as important to make sure you keep your private key private as it is to keep your password and username private, combined.
To directly answer your question, you prevent people from accessing your stuff by keeping that private key private. For instance, never, ever transmit the private key over the network; if you ever think your private key is compromised, destroy it, revoke its access, and make a fresh one.
This is not a key-pair issue:
I was getting ready to set up the keys on another machine (I had nothing configured on that machine at all, not even Git.) I was remotely connected to this computer from one that was logged into bitbucket.
Without thinking, I copied the url from a file in my download (the private key!) on one computer and pasted it into my browser on the other (that was not set up yet.) I was able to download the file(!) So for grins, I copied the URL for the zip file (Download Repository) from the first computer and pasted it into the browser on the second and low and behold, I was able to download the entire contents of my repository without ever logging in!
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
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...
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!
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