SSH agent cannot read ssh key file (2024.07.2)
Since we updated our on premise TeamCity server to 2024.07.2, the SSH agent (build feature) can no longer read the SSH key.
After the update, I've created a new SSH key to ensure it didn't break during updating, but this has no effect.
It is good to note that we use the same SSH key for our VCS Roots, the key does work there. This was the case for both our original SSH key and the newly generated one.
When the key is used via an SSH agent, it returns the error “invalid format” (teamcity-agent.log also logs this, but no additional information).
Prior to our update to 2024.07.2 (we were on 2024.07.1) this worked fine.
As far as I could find, nothing was changed in this release regarding these SSH keys/agents.
Does anyone know if the 2024.07.2 Version requires additional config on our server, or if this is just a bug in the latest version?
Please sign in to leave a comment.
It could be https://youtrack.jetbrains.com/issue/TW-89529. Please check and try the solution from the comment: https://youtrack.jetbrains.com/issue/TW-89529/SSH-agent-fails-on-Win-with-2024.07.2-TeamCity-update#focus=Comments-27-10631594.0-0.
Best regards,
Anton
Hi Anton,
Thank you for the response, it was indeed that issue - I did not manage to find the bug report myself.
Everything is up and running again, thanks!
Best regards,
Arjan
Great, glad to hear that!
Best regards,
Anton