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

How to use ssh in bitbucket pipeline without runner?

Taufik Fadlurahman Fajari
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 9, 2023

I want to flutter pub get in bitbucket pipeline, but my flutter project contain library that ask you to using ssh connection.

gen_lang:
git:
url: git@bitbucket.org:xxx/gen_lang.git
ref: main


I am using docker flutter image from instrumentisto/flutter:3.10.6.

I got error message

git@bitbucket.org: Permission denied (publickey).

 

What should I do if I do not want to user self hosted runner?

1 answer

0 votes
Mateus T
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 11, 2023

Hi @Taufik Fadlurahman Fajari!

The Permission denied (publickey) error message usually indicates that either Pipelines doesn't have access to your key pair or the key is not properly added to the destination server. I'd advise following the steps on this documentation to make sure your Keys are properly configured:

Cheers,

Mat

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events