Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Bamboo Linked repository - Test Connection not working


I've installed Bamboo v7.0.3 on Windows 10, running as a listener on http://localhost:8085

I am trying to set up a Linked Repository to Bitbucket Cloud using SSH authentication. I think I've entered the correct Bitbucket user/password & SSH private key/passphrase.

I get "We couldn't connect to the repository. The details you provided were invalid".

I looked in atlassian-bamboo.log

At first I found message "java.nio.file.FileAlreadyExistsException: C:\Bamboo\temp\bamboo-ssh.41538fd5.bat"

So I removed that file, and again tried "Test connection".

Now there is a log message " C:\Bamboo\temp\bamboo-ssh.41538fd5.bat (Access is denied)". But the file is there again?

Help appreciated, I'm getting stuck on this.

1 answer

1 accepted

0 votes
Answer accepted
Elias Zeidan Atlassian Team May 14, 2020

Hi @ncapp,

Thank you for reaching out to the Atlassian Community! 

I'm sorry to hear that you're running into issues creating and testing a Bitbucket Cloud repository.

Given the "Access is denied" message, it seems like this may be related to the user that Bamboo is running as.

If Bamboo is running as a Service, is the Service running as a local user?

There was recently a Tomcat upgrade that included a change to the default user for Services from Local System to Local Service, which has restricted permissions. Can you try running the Service as a local user? It is our recommendation that the local user have Full Control over the Bamboo Home and Bamboo Install directories and included files.

If Bamboo is running as a process (from the console batch script), does the user running Bamboo have full control over the Bamboo Home and Bamboo Install directories?

Please let us know if you have any questions or concerns.


Elias | Bamboo Support

thanks for your reply Elias.

I did a full uninstall.

Before reinstalling I made sure that the home directory and install directory pre-existed, and had Full Control permission for the user running Bamboo.

Then I reinstalled Bamboo and I was able to connect to Bitbucket, "Test connection successful".

I did have a smaller issue with a plugin spitting out an error, but I fixed that by referring to this answer:

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

315 views 0 7
Read article

Atlassian Community Events