Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Pipeline SFTP Permission denied publickey



I am able to connect to my server using ssh on my machine and same has been configured on Bitbucket SSH Key.


I have double verified SSH private key and public key still bitbucket is unable to authenticate to my server.


Screenshot 2020-07-26 at 4.49.40 AM.pngScreenshot 2020-07-26 at 4.47.45 AM.png

1 answer

Can you check the pipe gets the configured SSH key mounted on /root/.ssh/id_*?

Yes it is. I have tired SSH Run pipeline and i am able to run command.

Okay, this is good to know. I have not specifically verified it, but it sounds to me that the SSH key is not further mounted from the pipelines container into the pipe container. My assumption here might be completely wrong as not verified, but maybe you can verify this. When the pipe is run, it should show all arguments passed to docker for the pipe, and if the pipe would not re-mount your configured SSH key, it is not available. Maybe the pipe you use has also some variables to set the SSH key path and then it's expected you specify it (via that pipe variable) explicitly. Hopefully this is leading you towards a working solution already. Please let me know.

Suggest an answer

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

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

642 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you