2 things that come to mind:
- md5sum and diff, both via SSH. If the checksum doesn't match, compare the files using diff.
- CVS or Subversion as a central configuration repository. The valid configuration is fetched from there automatically at certain intervals, overwriting any local configuration drift.