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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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

Using Rsync-deploy to deploy code to EC2


Hi guys,

I have an issue with rsync-deploy, I used rsync-deploy to sync my code to ec2 but get the issue Permission denied

I have created a SSH key and added it to ~/.ssh/authorized_keys on my server,

I also updated the known hosts and base64 this key to add it to the repo variable, what am I doing wrong?

1 answer

1 vote

Hello @James ,

Thank you for reaching out to Atlassian Community!

From my understanding, you are using Atlassian's rsync-deploy pipe. If that is the case, in order to investigate further, could you please share with us : 

  • The bitbucket-pipelines.yml file of your build
  • The logs from the failed build containing the error message

Also, you can try running the pipe with the DEBUG variable, so it will output more logs that can help to narrow down the issue : 

- pipe: atlassian/rsync-deploy:0.7.1
    [... other variables]
    DEBUG: 'true'

Once you run in debug mode, please share the output of the pipe with us. Please make sure to sanitize any sensitive information from the logs.

Thank you, @James .

Kind regards,

Patrik S

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events