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
4,293,371
Community Members
 
Community Events
165
Community Groups

SSH key is not working

I have two private repos and I am using one repo as a library.

I configured for ssh key for one and add it's public key to another's access key.

I am using npm to install another repo as a library.

It works well locally but not working on the main repo's bitbucket pipeline.

Following one is the my example in package.json

"private-module": "git+ssh://git@bitbucket.org/[owner]/[repo]git#0.2.0",

Would you please help me?

1 answer

0 votes
Mark C Atlassian Team Sep 21, 2021

Hi @hiroshi

Welcome to the community.

You mentioned that you configured an SSH key and added the public key to another repository as an Access key.
For this, when you run it on Pipelines, would it be possible for you to confirm if you also added the configured public SSH key on Pipelines?

  1. Go to your repository https://bitbucket.org/workspace_id/repo_name/
  2. Click Repository settings
  3. Click SSH keys

If not yet, would you be able to add it there using the above steps and run your Pipelines build again?

Let me know how it goes.

Regards,
Mark C

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,086 views 2 9
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you