Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

error in rsync-deploy pipe

Hi all,


I am trying to copy the files from the local bitbucket repository to the remote server using rsync-deploy pipe and then run the script at the remote server using ssh-run pipe. I tried to run the command in the remote server using ssh-run pipe and its working fine, that confirms that SSH-keys and Host finger print is correctly setup between bitbucket pipeline and the remote server. But it still dont work and I am getting an error as mentioned below. Can anyone help what is wrong or there is some limitation with the rsync pipe?


copyfilestoRemote: &copyfilestoRemote
name: Copy local files to remote server using rsync
- pipe: atlassian/rsync-deploy:0.4.1
REMOTE_PATH: '/home/centos/test/'
LOCAL_PATH: 'test'
DEBUG: 'true'
EXTRA_ARGS: '--exclude-from=bitbucket-pipeline-exclude.txt


0.4.1: Pulling from bitbucketpipelines/rsync-deploy9123ac7c32f7: Pulling fs layer119f3143c8c7: Pulling fs layer47c6bfd13d55: Pulling fs layer1e6d7649e98f: Pulling fs layerd1bf2bfcf774: Pulling fs layer1e6d7649e98f: Waitingd1bf2bfcf774: Waiting47c6bfd13d55: Verifying Checksum47c6bfd13d55: Download complete119f3143c8c7: Verifying Checksum119f3143c8c7: Download complete9123ac7c32f7: Verifying Checksum1e6d7649e98f: Verifying Checksum1e6d7649e98f: Download completed1bf2bfcf774: Verifying Checksumd1bf2bfcf774: Download complete9123ac7c32f7: Pull complete119f3143c8c7: Pull complete47c6bfd13d55: Pull complete1e6d7649e98f: Pull completed1bf2bfcf774: Pull completeDigest: sha256:405e12ef0daa23461eaf1c78d33e456a97d8026811b5999b9e2b87b354ab0015Status: Downloaded newer image for bitbucketpipelines/rsync-deploy:0.4.1INFO: Executing the pipe...INFO: Enabling debug mode.+ setup_ssh_dir+ INJECTED_SSH_CONFIG_DIR=/opt/atlassian/pipelines/agent/ssh+ IDENTITY_FILE=/opt/atlassian/pipelines/agent/ssh/id_rsa_tmp+ KNOWN_HOSTS_FILE=/opt/atlassian/pipelines/agent/ssh/known_hosts+ mkdir -p /root/.ssh+ touch /root/.ssh/authorized_keys+ '[' '' '!=' '' ']'+ '[' '!' -f /opt/atlassian/pipelines/agent/ssh/id_rsa_tmp ']'+ error 'No default SSH key configured in Pipelines.'+ echo -e '\e[31mERROR: No default SSH key configured in Pipelines.\e[0m'+ exit 1ERROR: No default SSH key configured in Pipelines.

1 answer

Please note that I tried with  ${BITBUCKET_CLONE_DIR}/test as local path but it still dont work.

Ok I found the root cause I missed a flag.

Suggest an answer

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

Bitbucket Pipelines Runners is now in open beta

We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...

517 views 10 8
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