# The remote backup copy fails after the backup server was reinstalled

UrbeStack sysadmin note about OpenSSH. Last updated 30 Nov 2026.

The remote backup copy fails after the backup server is reinstalled because its OpenSSH host key has changed. Forget the key UrbeStack recorded at the first successful test, then test again to record the new one.

## Symptoms

The remote backup copy fails. The error ends with this message.

```output
The remote server's SSH host key differs from the one recorded during testing. Verify the new fingerprint before using Forget host key on the Backups page and testing the connection again.
```

## Cause

A reinstalled remote server has a new OpenSSH host key. UrbeStack records the remote server's host key at the first successful test and refuses a different key. This prevents a replacement server from receiving the backups.

## Resolution

On the remote server, check the fingerprint of its host key. Use it to compare with the fingerprint from the test.

```
ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub
```

Forget the recorded key.

```
urbestack-backup-remote-key --forget-host
```

Run the test again.

```
urbestack-backup-remote-test
```

The test records the new host key and shows its fingerprint in `host_key`. If the fingerprints differ, stop. Something else is answering at that IP address.

If the problem persists after you follow this note, you can [open a support ticket](https://support.urbestack.com/new?type=support). Including the output of the commands you ran helps support diagnose the problem.
