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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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
4,461,768
Community Members
 
Community Events
176
Community Groups

How to configure pipeline from one repository to two servers

Hello everyone,

 

I hope when my message finds you all well. I have two servers (one for stating and one for production) on different IPs, I read in this link that I can't have more than one SSH per repositoryhttps://support.atlassian.com/bitbucket-cloud/docs/use -multiple-ssh-keys-in-your-pipeline/

 

But for what I need it is necessary to have two SSH keys because the users of each key are completely different and I cannot just change the user in the variable since the user who generates the SSH of each of the servers has different permissions. Is there an alternative to this?

 

Thanks in advance for any help.

 

Cheers,

 

Rodrigo Sarri

1 answer

0 votes

Hi Rodrigo,

The alternative is described in the documentation you linked:

You can use multiple keys with a pipeline by generating the SSH key pairs locally (if you haven't generated them already), adding them as secured variables, and then referencing them in the bitbucket-pipelines.yml file.

The documentation provides step-by-step instructions on how to achieve that. If you have any questions or face any issues during the process, please feel free to let me know.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events