Create
cancel
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

Hello

 

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

This is my bitbucket-pipelines.yml:

1.png

 

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 : 

2.png

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
TAGS
Community showcase
Published in Jira Service Management

Security Advisory for Jira Service Management

On October 20, 2021, Atlassian published a security advisory for Jira Service Management. The full advisory is available at this link.  We've seen a number of questions already asking for...

71 views 0 1
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