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

Multiple servers

Is it possible to do an SCP deployment to multiple servers, or are there any workarounds or recommended practices to accomplish this?

1 answer

0 votes

Hello and welcome to the community.

This is possible, you can generate an SSH key pair in the repository's SSH keys page (from Repository settings), add the address of each server in the Known hosts in the same page, and then add the public key to each of your servers.

The process is explained here:

If you want to use a different SSH key pair per server, you can have a look at the section Use multiple SSH keys in your pipeline:

You can use the SCP Deploy pipe for purposes of deployment:

You can use the pipe multiple times in the bitbucket-pipelines.yml file, one for each server.

Please feel free to let me know if you have any questions.

Kind regards,

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

111 views 1 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