Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×

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
AUG Leaders

Atlassian Community Events