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

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 Confluence Cloud

🎨 Add some visual life to your templates

Hi Atlassian Community, My name is Avni Barman, and I am a Product Manager on the Confluence Cloud team. Based on feedback from you, we are giving admins more power to create templates that a...

103 views 1 3
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