Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hello DO,
We are just getting acclimated to our new Bitbucket/DO workflow and we ran into an issue that we don’t know if we resolved in the best manner possible. I would like to run that scenario by you guys to see if anyone has a better recommendation for our workflow.
Bitbucket
We created a Repo inside of our Team account We then added a non-team member (remote developer) to the repo as an Admin
DigitalOcean
We then created the new user for the remote developer on the Droplet with the following permissions: newuser ALL=(ALL:ALL) ALL
We wanted the developer to be able to easily push and pull his changes to the live server but we ran into a continuous problem with him pulling the changes from Bitbucket. We eventually came to the solution of running the git pull command like so:
sudo git pull https://bitbucketuser@bitbucket.org/team/exampleproject.com.git
(it was previously asking him to enter our main team member’s Bitbucket password)
The Problem:
The developer was expressing to us that it was quite aggravating to work like this as it was asking him for his username and password each time he went to push or pull his changes from Bitbucket.
The Question:
I’m assuming there is a solution to this problem by using SSH Keys but I’m a bit fuzzy as to how to utilize the SSH Key in this scenario. Will he just need update his Bitbucket account with his SSH Key or is this something that needs to be done on DO? Maybe both?
Sorry for the long winded explanation but I thought maybe there was a better way to accomplish this from the get-go. Any tips or how-to articles are very much welcomed.
Thanks! - Daniel
c21c0b00bb284130a0d0cd3b7bdab4
IsaacMvd
Leon Junior
hashembarret@gmail.com
JetForMe
24608ead89f046a8abab394f968f2c
Philipp Mayerhofer
enews
Brian Magnosi
jairunet
Nikolas Jakson