You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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: https://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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.