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!


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
Community Members
Community Events
Community Groups

Where does Bamboo save the SSH key on its agent during execution of e.g. an "SSH Deployment Task"


I am currently trying to solve the question of one of our users, whether an ssh key from an ssh deployment task could be read out from another entity that has access to the bamboo build agent where the task gets executed.

Use-Case: Two parties need to use the same bamboo agent which is dedicated to some build and deployment projects. One of those parties has access to the agent on the level of the user that is running the bamboo-agent-process. Now I am wondering if they could somehow get to know the ssh key the other party uses during their "ssh deployment task". This key has to be copied to the agent, so that the agent can establish the ssh connection to the destination, right? Therefore the key either lays somewhere in the file system temporarily or at least gets loaded directly into the memory, which has to be accesiable by the bamboo-agent-process. And as this is the case, a dump of said process memory could be taken to retrieve the key? Or, if the first assumption is right, the key can just be retrieved from the temp file. Is that right?

A workaround of that issue I have in mind is to have another user on that device and run a second bamboo-agent-process for the other party and dedicate theire jobs to that agent. As they both do not have root access, I assume that, without exploiting any security flaws, they can not easily access the files and memory of the other bamboo-agent process. It is not that both parties do not trust each other at all, it is the same company. But I would still like to seperate their stuff.



0 answers

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events