Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Smart way on how to use SSH keys from or with Bitbucket Pipelines Edited

This is our setup:

  1. Multiple users with seperat bitbucket accounts working together on BB repos
  2. New SSH Key are generated within BB for every project
  3. BB SSH public key is added to the .authorized_keys file on the STAGE or MASTER Server
  4. BB SSH public key is also added to the BB "Access keys"
  5. Deployment works via BB Pipelines

So with setup ssh-commands, rsyncs to the remote etc. works pretty well as long the commands are running in the BB pipeline. And that is my problem.

 

To take it step further I dont just want to "send" updates via the BB pipelines one way to the remotes. I also want to receive files and db-dumps etc to my local system which leds into the following questions:

  1. Is it possible to run Pipeline-Scripts that actually send data back to my local system like an ssh reverse tunnel?
  2. As there is an VSCode plugin for BB: Can I autosync the SSH-keys from the BB project I'm working on to my local machine so that I can send ssh-requests to the BB known hosts without pushing my local ssh keys into these?

Thanks for any hint

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

487 views 5 4
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