Bamboo running on Windows fails to communicate to Bitbucket Server and Data Center (e.g. creating new repositories, triggering plans, running change detection and etc) after installing Git for Windows 2.33.0(2) or newer. This is happening because Git for Windows 2.33.0(2) bundles OpenSSH 8.8p1 which removed support for ssh-rsa (SHA-1) (release notes). This is the type of key created by Bamboo to communicate to Bitbucket Server and Data Center.
- Install Bamboo (e.g. 8.0.3) on Windows.
- Install Git for Windows 2.32.
- Create an application link between Bamboo and Bitbucket Server or Data Center.
- Create a new Bitbucket Server / Stash repository.
- Up to this point everything should be working fine.
- Update the version of Git for Windows to 2.33.0(2) or newer.
Everything continues to run as expected and you are able to create new Bitbucket Server / Stash repositories and run existing plans that are linked to Bitbucket Server / Stash repositories.
Creating new Bitbucket Server / Stash repositories fail with the following error message:
Attempting to run an existing plan using a Bitbucket Server / Stash repository results in the following error message:
- Downgrade the version of Git for Windows to 2.33 (which has OpenSSH v8.7p1) or 2.32.
Re-enable the disabled signing algorithm in OpenSSH 8.8 and newer by including the following details inside the C:\Program Files\Git\etc\ssh\ssh_config file to allow the use of ssh-rsa (SHA-1) for host and user authentication against Bitbucket: