Bamboo Agent attempts to do a checkout from Bitbucket and fails with:
GitCommandException: command git.exe ls-remote ssh://<numbers-redacted>@127.0.0.1:<portNum>/<repo-path>.git] failed with code 128.
Unable to negotiate with 127.0.0.1 port <portNum>: no matching host key type found. Their offer: ssh-rsa
Why is Bamboo Agent running the command against localhost instead of the repository URL?
Does anyone know how to fix this? Is this related to the public key generated by Bamboo Server?
I've tried copying the public key that Bamboo generated into Bitbucket and redefining the repository in Bamboo.
I can access my repository on the computer running Bamboo Agent from the command line.
This may be due to the deprecation of ssh-rsa signature scheme from OpenSSH 8.8.
Related issue - https://jira.atlassian.com/browse/BAM-21467
Thanks @Angus Wu the work arounds in the JIRA seem to work!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm also running into this issue now. I've upgraded MacOS to Ventura 13.5 and now all of the sudden the agent fails with similar errors.
If I run the build on the built-in agent (Ubuntu), then this error doesn't show up and I move to the next stage (that will fail for expected reasons).
@Paul Sanfilippo did you solve the problem?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.