How do I ssh into a default bamboo elastic instance

I have followed the instructions to run

ssh -i /path/elasticbamboo.pk ec2-user@XXXX.compute-1.amazonaws.com

but it seems that the key requires a password that I don't have. Where is this password stored, or do I need to create my own elastic instance and set up the bamboo agent manually?

4 answers

1 accepted

This widget could not be displayed.

Thanks for the help guys. I found that by terminating the amazon instance, and creating a new one I was able to log in using the supplied keyfile.

I have no idea why the first one didn't work - I created it in exactly the same way, and never requested a password put on it.

This widget could not be displayed.

Bamboo does not set up passphrases on private keys it generates. My guess is that someone from your organisation asked Atlassian support to put a private key supplied by you on the OnDemand instance.

Bamboo does not really need that key. You can go into the AWS Console on your account and regenerate it if you don't have access to the passphrase anymore. Optionally, ask the support to put the new key on your OD instance afterwards.

This widget could not be displayed.

Hi Stevesh

Did you try to follow the steps outlined in the following note (https://confluence.atlassian.com/display/AOD/Accessing+an+elastic+instance)?

Also, the password for instance that started up using stock images provided by Atlassian should be generated within few minutes. The password will then be shown in Bamboo itself. In case of any problem, perhaps you may try to retrieve this password from AWS console.

Anyway, you can raise a new support ticket for an advanced assistance.

Cheers,

Paulo Renato

This widget could not be displayed.

Hi Stevesh,

You will need to download the key from Bamboo - it should be available within the same page as the provided SSH command.

Once you have it in your machine, you can alter the SSH command to include the path of the downloaded key e.g.:

  • ssh -i /home/user/Download/elasticbamboo.pk ec2-user@XXXX.compute-1.amazonaws.com

Hope this helps.

Regards,
Fahd

Thanks for the answers, Paulo and Fahd. I have followed the instructions, and I have the key. My problem is that ssh then asks for the password for that key:

steve@hydra:~$ ssh -i ./elasticbamboo.pk ec2-user@XXXX.compute-1.amazonaws.com

Enter passphrase for key './elasticbamboo.pk':

Permission denied (publickey).

steve@hydra:~$

I can't see anywhere in the bamboo ui where I can get the passphrase.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

160 views 2 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you