Release with maven + gitflow
Found the answer, disable ssh check in Ubuntu
In your ~/.ssh/config (if this file doesn't exist, just create it):
Host *StrictHostKeyChecking no
This will turn it off for all hosts you connect to. You can replace the * with a hostname pattern if you only want it to apply to some hosts.