Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting error while pushing source code to aws codecommit using bitbucket.yml file

Abhishek Tiwari
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!
June 7, 2019

Getting below error while pushing source code to aws codecommit using bitbucket.yml file.

+ git push codecommit $BITBUCKET_BRANCHno such identity: /root/.ssh/codecommit_rsa: No such file or directoryPermission denied (publickey).fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.

1 answer

0 votes
Tom Bradshaw
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 25, 2019

Hi @Abhishek Tiwari,

To use ssh keys you'll need to setup both the sender (pipelines) and the receiver (aws codecommit)

To set up ssh keys for use in pipelines you can consult our documentation here https://confluence.atlassian.com/bitbucket/use-ssh-keys-in-bitbucket-pipelines-847452940.html

To set up ssh keys for use in aws codecommit you can consult the documentation here https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-ssh-unixes.html

If you have any other questions let me know.

Cheers,

Tom

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, forge, forge learning path, atlassian learning, cloud app development, forge app development, build forge apps, atlassian certification, developer training, jira app development, confluence app development, automation, ui frameworks

Turn Ideas into Atlassian Apps 📱

From setup to deployment—this learning path shows you how to build your first app using Forge. Learn the essentials, streamline workflows, and bring custom solutions to life across Jira, Confluence, and more.

Start Learning
AUG Leaders

Atlassian Community Events