-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TransportException Auth fail on pushing tag since version 1.9.3 #270
Comments
Can you show the command/configuration of axion that you use? Are you pushing "by hand" using the same auht method? (private key) |
plugins { scmVersion { Command is - gradle release after "gradle clean build" was executed Otherwise normally when I do git push/pull/clone with code commit it works fine. It seems to be failing when its trying to push the local tag. |
I just published |
Hello! My team has also run into this error, and we've narrowed it down to a recent change to OpenSSH keygen https://www.openssh.com/txt/release-7.8
Generating a key using -m pem does indeed fix the problem. I don't know groovy or I would offer to attempt and submit a fix. Hopefully this is helpful. |
Looks like a great clue - i will try to work on it. |
Thanks, @CBrophy, for this lead. |
Any updates on this? |
The problems occurs because ssh-agent has no identities. You need to add this after generating your ssh key. You can do this by
After that you can check if ssh-agent now has identities by
After that process all should be good, it worked for me :) |
Any updates on this? |
I worked around the the problem for windows 10 by using the git bash and ensuring that the ssh-agent is automatically running as described in: https://help.github.com/en/github/authenticating-to-github/working-with-ssh-key-passphrases#auto-launching-ssh-agent-on-git-for-windows |
When running gradle release in my project locally I get the following error -
Working on released version 1.0.3, nothing to release
Pushing all to remote: origin
Exception occurred during push: org.eclipse.jgit.api.errors.TransportException:
ssh://git-codecommit.us-east-1.amazonaws.com/...: invalid privatekey: [B@566b395b
I am able to access aws code commit otherwise normally.
The text was updated successfully, but these errors were encountered: