Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

GIT on Private SSH key is invalid or empty

Hi Team,

I have got a GIT repo created in my project and have got me private key generated.

Parameters used while creating the Key was SSH-2 DSA with number of bits as 1024. This was generated from PUTTY Keygen.

So currently my Key looks like this:

PuTTY-User-Key-File-2: ssh-dss
Encryption: aes256-cbc
Comment: bh.raki@gmail.com
Public-Lines: 10
AAAAB3NzaC1kc3MAAACBAIDDWczUiZtS4JKwbl6o+1kd3m8MqRbhIaCUoD0cRj6lOmUVOwhZd196QM2fq1MW/FiceXrFfgmZCcofvZUyCo0fFdnmx7za7LRGnaJW1Lv3Snze3cdLINaIEbZgshHdQb2pWRQ3zdo4kwyebi/yjNkqeHdEpPl8Z2bcmMgd6TM9AAAAFQCmbvstffDA/v1p1b4qJRaIomb63wAAAIB7JO8/wdtdemOwDhrgHHNZHyPZirPakYMUDhl/aUQjMh2RtUyqNxfvMwN6bUiumsJ2B7hpQQv/Jn36aLc+GH+ARxCRfNjlp2MFpzBxB7oK3cMawOHZmK98bmxmTF1MBh4MUjWfodSq/mVBSSQdS0FZfwaf9iQFUvOSw4OBGa2gIAAAAIBT5o00//SNm0/78ygO10Ze8W8zbdna5yrdnCPGYnZYBJeVLpJoiSUs8QFZn9X9YZY4s8vAJ0BnbVhvve1P3wO4A3F44F/dud7hviawpC9pRM3oNRu0KGU/D9hTCjXXhSYCmMzNRJt9UekaFDzNddmKjeXMABRQJx6XzsRMPbpv3Q==
Private-Lines: 1
0U26WTfxR0Orx2rv7+RkOMHdH/KP9m7kVJ0RV23APWY=
Private-MAC: 104c9e40a607b30fc7356083789eec31c4f8e135.

When I import this key while adding the GIT repo in JIRA I am getting the below error:

"That is not a valid SSH private key. Please try a different one.
Technical error reported from the git client:
Private SSH key is invalid or empty"
Can you please advise?
Thanks,
Rakesh

2 answers

1 accepted

0 votes
Answer accepted

Hi Rakesh,

Out of curiosity, what do you mean by "When I import this key while adding the GIT repo in JIRA" - are you using a JIRA plugin that allows you to host git repositories?

The private key that you have generated is putty specific and uses a different format to a private key generated by for example OpenSSH (ssh-keygen).

I think a private key in the latter format is what you need to make this work.

Cheers,

Stefan

Hi Team,

Thanks for your kind response. I am happy to get this issue closed.

Thanks,
Rakesh

Suggest an answer

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

Introducing Atlassian Open DevOps

Hey Community! I’m Shana, a member of our DevOps team here at Atlassian. I wanted to make sure you saw our announcement last week about the launch of Open DevOps since you may have missed it amidst a...

426 views 1 7
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