Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

SSH git access in build steps

Sigve Tjora March 12, 2021

We are trying to run a Yocto build in a specific Runner, however we have been running into problems with ssh-access to bitbucket. We use the following command to test the link

+ ssh -T git@bitbucket.org
Warning: Permanently added the RSA host key for IP address '104.192.141.1' to the list of known hosts.
git@bitbucket.org: Permission denied (publickey).

The key in question is added via admin/pipelines/ssh-keys to the pipeline, and works fine in a regular pipeline step.

Are all variables in "Repository variables" and all SSH keys available to the container in the runner?

1 comment

Comment

Log in or Sign up to comment
Sigve Tjora March 12, 2021

After reading more carefully, ssh access is listed under "Limitations during the EAP", so that is expected to not work at moment.

lassian
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 14, 2021

Hi Sigve,

Correct at this current time the SSH key feature is not supported by the runner, that will be coming in a future release.

In RE: variables, all the variables are exposed to runners as they are today in pipelines with deployment variables overriding repository which override account level variables which override any defaults in the image in that order. The same way they work in the current cloud runner.

Kind Regards,

Nathan Burrell

Andre Renaud April 28, 2021

Is there any update on when SSH keys will be available in runners? We make heavy use of submodules, which unfortunately necessitate this feature.

Like Kenneth Juul Wannebo likes this
Kenneth Juul Wannebo June 13, 2021

@lassian Any update on when SSH keys will be available in runners?

TAGS
AUG Leaders

Atlassian Community Events