Error generating release with Maven/gitflow

Asked

Viewed 69 times

0

Hello, I have a Java application and I use Maven + gitflow to generate releases. I can clone via ssh/key without problem. But at the time of turning the command

mvn jgitflow:release-start

The following error is thrown:

Caused by: org.eclipse.jgit.errors.UnsupportedCredentialItem:
ssh://[email protected]:10022: The authenticity of host '127.0.0.1' can't be established.
RSA key fingerprint is 7e:03:51:7b:55:a5:cd:de:4c:7a:0d:1b:43:75:08:68.
Are you sure you want to continue connecting?
      at  com.atlassian.maven.plugins.jgitflow.util.ConsoleCredentialsProvider.get(ConsoleCredentialsProvider.java:71)

If I change the access to git via HTTP the release works, I want to generate version and post the tag in git via ssh/key

  • Any tips person? any ssh commands?

1 answer

1


I managed to resolve, I disabled the ssh check on Ubuntu

I added the following line to mine ~/.ssh/config (if the file does not exist, just create it)

Host *
StrictHostKeyChecking no

The * disables for all hosts, if you want to disable for a specific host, just replace the * by the host

Browser other questions tagged

You are not signed in. Login or sign up in order to post.