Error occurs when a backup is run using SCP as the transfer protocol
search cancel

Error occurs when a backup is run using SCP as the transfer protocol


Article ID: 164956


Updated On:


Messaging Gateway


Backup fails in Messaging Gateway when using the SCP transfer protocol. The logs reference failure of FIPS integrity verification.

In the Control Center BrightmailLog.log file, similar to the following is found:
Mar 26 2017 01:03:09 [BrightmailScheduler_Worker-8] [ScriptHelper] ERROR - Cannot backup the database.
Mar 26 2017 01:03:09 [BrightmailScheduler_Worker-8] [ScriptHelper] ERROR - Failed to transmit the file: Problem performing scp: FIPS integrity 
verification test failed.lost connection. ERROR: Unable to send to the specified URL.
Mar 26 2017 01:03:09 [BrightmailScheduler_Worker-8] [ScheduledBackupTask] ERROR - Error occurred while attempting to execute scheduled backup.
    at org.quartz.simpl.SimpleThreadPool$


This issue is a security feature of SSH and occurs when the Messaging Gateway SCP function (an SSH function) determines the host key of the receiving system has changed.

More information on the host key can be found at


To correct this issue, first make sure that Messaging Gateway is not connecting to an unexpected system and there is no man-in-the-middle intercepting the transfer.

Then, if the connection is as expected, clear the previous key from the Messaging Gateway so it can be recreated:

  1. Log into the Messaging Gateway command line with the default admin account.
  2. Run the following commands:
    • rsa-key clear known_hosts
    • rsa-key test <[email protected]>
      • Replace "<[email protected]>" with the username and the hostname or IP (The same used in the scp command that generated the error)
      • For example "rsa-key test <[email protected]>"
      • You will be prompted for the password for that user
      • A successfull command will return the fqhn of the server.
  3. Run the backup again.

Note: Use the "rsa-key test" command to add the host key of any necessary hosts that the Messaging Gateway may make scp connections to.