You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
We use Bamboo to manage our software deployments and have a number of projects set up. All but one are configured using Linked Repositories and the same saved credentials using RSA keys. These all work perfectly, however it's not possible to change the details on the linked repositories as Bitbucket always gives 401 Unauthorized even though the credentials are correct and the deployments work perfectly.
The part that has me stuck, is there is one project with it's Linked Repository set up to use username and password authentication rather than RSA keys. All I should need to do is change it from Username and Password authentication to SSH Private key and select the saved key. The system will not allow this because of the aforementioned 401 unauthorized issue. I need to change it as it won't deploy anymore since Bitbucket changed the way authentication works. It's not possible to set up a new Linked repository as even giving the correct credentials Bamboo still throws that 401 Unauthorized off the password and won't allow me to select SSH private Key for the authentication.
I tried taking a copy of the database and just changing the underlying data to be correct but this breaks the system and I've reverted it.
# Install a Git binary on the Bamboo server and any remote agents that will need to use it.
** [Git - Installing Git|https://git-scm.com/book/en/v2/Getting-Started-Installing-Git]
# Define it as a Server Capability at *Bamboo Administration > Overview > Server Capabilities*