6/2/09

How to avoid "The host key has changed!" when reinstalling systems with the same ip

If you have troubles when reinstallning systems with the same ip you get different SSH host keys Then you can disable strict checking of host keys on a certain IP-range by adding the following setting to your ~/.ssh/config file.

Host 10.0.0.*
UserKnownHostsFile /dev/null
StrictHostKeyChecking no