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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,458,753
Community Members
 
Community Events
176
Community Groups

Git ssh key work on command line works but not with Jenkins

Hi All ..

I am trying to change over my jenkins jobs to use ssh keys rather than the https access that I have been using previously to access my repo's.

I got the command line version of access working properly for my repo, however if I try to use the same ssh keys in my jenkins jobs - the fail with the message:

returned status code 128:
stdout:
stderr: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

 

I have recently updated my jenkins instance as well as my system, tried several different varieties of methods to configure my jenkins instance with out success.

I have looked a similar articles at Atlassian and researched on google how to configure ssh with bitbucket and jenkins without any success.

So I am turning to the community to ask for help with this issue as the deadline for migrating from https access -> ssh at bitbucket is Mar 1 2022

Thanks for any help you can offer

Dave W.

1 answer

1 vote

Hi and Welcome,

Have you ensure you are using and configure the proper keypair in both jenkins and user settings?

 

Maybe this article may help you, please kindly check:

https://geekcontainer.wordpress.com/2018/02/12/integrate-your-bitbucket-with-jenkins-using-ssh-keys/

 

Regards

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events