Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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!


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 repository -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.




Rodrigo Sarri

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 19, 2022

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,

Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events