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

SFTP deployment trying root ssh keys



I'm trying to set-up a SFTP deployment pipelines.

This is my bitbucket-pipelines.yml:



But, when I'm trying to run a pipeline, I got this error: $USER_PIPELINES@$SERVER: Permission denied (publickey).

The user I'm using to deploy is "pipelines" on my Debian System.

The logs are also showing this : 


Why the pipeline is searching the key trough /root folder?

I checked into /home/pipelines/.ssh/authorized_keys: I have the file and permissions are corrects.

I checked into the config file /etc/ssh/sshd_config : AuthorizedKeysFile %h/.ssh/authorized_keys

I don't know what to check... If anyone have a solution...

Best regards



1 answer

1 accepted

1 vote
Answer accepted

Solved: needed to remove the PASSWORD on variables...

Suggest an answer

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

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

227 views 2 5
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