# urbestack-backup-remote-key

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 command, run as root in the server shell.

## Usage

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

## Description

Shows the public key and fingerprint of UrbeStack's Ed25519 key pair for remote backups, along with any recorded host key. UrbeStack creates the key pair on the first request. The private key stays on this server under the state directory, accessible only to root. Add the public key to ~/.ssh/authorized_keys for the account set in backups.remote_user on the remote host.

Use --forget-host after reinstalling the remote host. It removes the recorded SSH host key for backups.remote_host on backups.remote_port. Remote copies are refused until urbestack-backup-remote-test records the host key again.

## Same in the API

- [DELETE /backups/remote/host-key](https://urbestack.com/docs/api/delete-backups-remote-host-key.md): Forget the recorded SSH host key for the remote backup server
- [POST /backups/remote/key](https://urbestack.com/docs/api/post-backups-remote-key.md): Get UrbeStack's SSH public key for remote backups

## Command family: backup

- [urbestack-backup-account-list](https://urbestack.com/docs/commands/urbestack-backup-account-list.md): Lists customers as shown in the Backups section of the administrator's panel, with each customer's name, package and account state.
- [urbestack-backup-del](https://urbestack.com/docs/commands/urbestack-backup-del.md): Deletes one of the customer's own archives from backups/ in their home directory.
- [urbestack-backup-exclude-add](https://urbestack.com/docs/commands/urbestack-backup-exclude-add.md): Adds a path to the customer's backup exclusions.
- [urbestack-backup-exclude-del](https://urbestack.com/docs/commands/urbestack-backup-exclude-del.md): Removes an exclusion from the customer's backup list.
- [urbestack-backup-exclude-list](https://urbestack.com/docs/commands/urbestack-backup-exclude-list.md): Lists the customer's backup exclusions in path order.
- [urbestack-backup-exclude-set](https://urbestack.com/docs/commands/urbestack-backup-exclude-set.md): Locks or unlocks a customer's backup exclusion.
- [urbestack-backup-list](https://urbestack.com/docs/commands/urbestack-backup-list.md): Lists the customer's own archives in backups/ at the top of their home directory, newest first.
- [urbestack-backup-make](https://urbestack.com/docs/commands/urbestack-backup-make.md): Creates a .tar.gz archive for one customer or reseller.
- [urbestack-backup-remote-test](https://urbestack.com/docs/commands/urbestack-backup-remote-test.md): Tests the remote backup destination, as the Test button does.
- [urbestack-backup-run](https://urbestack.com/docs/commands/urbestack-backup-run.md): Creates the server's backup for the day.
- [urbestack-backup-status](https://urbestack.com/docs/commands/urbestack-backup-status.md): Shows the backup status displayed in the Backups section and on the dashboard card in the administrator's panel.
