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

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

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
Floris Heringa 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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events