Adding SSH key gives error with correct key


#1

So I’ve been trying to add a new SSH key at https://circleci.com/gh/myorganisation/myproject/edit#ssh but I keep getting the error “Error: it looks like private key is invalid key. Double check If we can help, contact us.”

My key is roughly

-----BEGIN RSA PRIVATE KEY-----
MIIEpQIBAAKCAQEAyGoAVjc0bcnrFi/kMIiwwBXlQkvp5cgdLZ5JLZHk2qTDiMcV
(and a whole lot of the other stuff)
mCkZRRqQ39em5VaT+ES6XoEgOdJr6P9tcLub0AQ8Wtt1V9RdkykMUhc=
-----END RSA PRIVATE KEY-----

(yes yes I will make a new key and throw that data away :slight_smile: )

So it all initially looks correct to me, I saw another post similar where the guy was forgetting the headers, I’ve added 3 other keys no problems


#2

don’t waste your time, your key might be valid. this has been reported before


Problems with submitting an SSH Permission
#3

ahuh! thanks for the tip! yeah its really stopped our project big time


#4

Please use the thread @menelike posted to follow this issue (linked below as well). It makes it easier to let you guys know what is happening. Thank you.


#5