The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

sshkey Invalid format

Deleted user
February 1, 2018

How long does a newly installed sshkey for my account take to be active?

I generated the key with ssh-keygen but the ```ssh -T bitbucket.org``` test is saying the key is an invalid format.  Is that the truth? Is the format really bad or is it that the system just hasn't registered the new ssh key yet?

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Deleted user
February 1, 2018

grr.... it was the old key that was added to the ssh-agent that was running the background.  format was fine.  all is well.

0 votes
Deleted user
October 20, 2022

If anyone comes across this after googling the same issue, while using your own generated keys in a pipeline:

The private key needs a newline the the end, otherwise it will be invalid.

Horrifying input validation, but this is unfortunately the case.

TAGS
AUG Leaders

Atlassian Community Events