I was trying to configure jgitflow plugin for my maven project and I have added <scm>
tag to my pom.xml
. However initially I have used ssh url instead of https url and since then (even when I remove <scm>
tag or change the url to https) I get either this:
[adam@deathstar myproject]$ git push
The authenticity of host 'bitbucket.org (207.223.240.181)' can't be established.
RSA key fingerprint is 97:8c:1b:f2:6f:14:6b:5c:3b:ec:aa:46:46:74:7c:40.
or this:
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
How can I return to using https?