How to Avoid Maven builds stall on ssh host authenticity problem?

Posted by Peter Kahn on Stack Overflow See other posts from Stack Overflow or by Peter Kahn
Published on 2010-04-21T19:33:05Z Indexed on 2010/04/21 21:13 UTC
Read the original article Hit count: 290

Filed under:
|
|

What's the right way to keep ssh host authenticity from being a problem for maven and hudsno builds?

I have hudson building my maven project on a VM. When the ESX server with my VMs on it is taxed some of my jobs will stall out stuck in a loop of ssh host authenticity problems. The hosts were in the known hosts file, but during these times the clocks on the slave VMs have drifted far from those of my maven repo.

[INFO] Retrieving previous build number from snapshots
The authenticity of host 'maven.mycorp.com' can't be established.
DSA key fingerprint is 6d:....83.
Are you sure you want to continue connecting? (yes/no): The authenticity 
of host 'maven.mycorp.com' can't be established.

Is there something other than disabling host checking (CheckHostIP no)?

© Stack Overflow or respective owner

Related posts about maven

Related posts about ssh