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?
OK, I'm feeling pretty foolish rightabout now... It turns out that the browser on the remote machine was logged in already by someone at the keyboard and I didn't notice. I tried logging them out and repeating the process and it failed (as it rightly should.)
You should probably destroy that key and make a new one if it's been transmitted over the network.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey there,
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.