Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple servers

eelkeh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 2, 2020

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
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 4, 2020

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,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events