Luong Truong
Luong Truong

Reputation: 2153

Bitbucket Pipeline - Pull/Push code using SSH Key without Permission denied

I am interested in the Bitbucket Pipeline and struggling with it.

If you guys have any idea, please let me know. I am really appreciated.

Below is the scenario:

Below is my questions:

Thank you for reading my question.

Upvotes: 2

Views: 1752

Answers (1)

VonC
VonC

Reputation: 1329262

but do we have any alternative ways so we don't have to add the SSH Key to Personal Setting?

Not with SSH: you need to have the right public key associated with your account (assuming your account owns the Package repository, meaning has the right to push to it in the first place)

Or, you would need for your BitBucket pipeline to push back using alternative authentication methods, using an HTTPS URL and OAuth. (Settings > OAuth consumers > Add consumer.)

Upvotes: 2

Related Questions