Issue: remote host ID change during parallel build


#1

Hi,
I have a large, parallel, build running on 4 ubuntu 14 containers via distcc.

I frequently get errors from ssh:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!

Someone could be eavesdropping on you right now (man-in-the-middle attack)!

It is also possible that a host key has just been changed.

The fingerprint for the ECDSA key sent by the remote host is
80:73:28:6d:ef:0d:8a:18:22:e7:3f:ad:4d:bf:78:32.

Why is this happening, assuming that the .ssh folder contents aren’t cached between builds. The problem seems to arise soon after the build switches to compile phase following some downloading steps. Is it likely to be caused by containers sleeping?

The problem doesn’t appear to break the build, but probably slows things down.

Any clues on how to fix?

Thanks


#2