# urbestack-move-test

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-move-test [--look | --pin FINGERPRINT | --recorded-only]
```

## Description

Tests whether the server configured in move.source_host and move.source_port can serve as a move source. This is the Test action in the Move section. It connects over SSH as root with UrbeStack's key for moves, creating the key if needed, and runs urbestack-move-source-info on an UrbeStack source.

Use --look to inspect the connection without running a remote command or recording the host key. It reports the host key type and SHA256 fingerprint, the SSH software version the source announces, and how the source authorized UrbeStack's key for root. Before trusting the host key, compare its fingerprint with the output of ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub on the source server.

Use --pin to supply the verified fingerprint. If it matches the host key the source presents, the command records that key in UrbeStack's known_hosts, replaces any previous entry and runs the test. A mismatch leaves the recorded key as it was and reports the mismatch. The API uses --recorded-only to require a previously recorded host key. If the key is missing, the command directs you to use --look and --pin. With none of these options, the shell command records a new host key on first contact. Use at most one of --look, --pin and --recorded-only.

The test refuses a changed host key, a source that rejects UrbeStack's SSH key, or a host that does not respond. To replace a changed host key, run urbestack-move-forget --host-key, verify the new fingerprint with --look and record it with --pin. An unsupported control panel returns error 409 with the path of the marker file found on the source. For plain version files whose names end in version or version.txt, the error also includes the first line, limited to 120 characters. An UrbeStack source must run a version between the first release with move support and the destination's version, inclusive. A version error reports both servers' versions.

A successful test records the source server's kind in move.source_kind and the IP addresses it sends mail from for the spam filter. The command identifies a supported third-party control panel using its version tool. Listing accounts, copying them and cutting them over then use the source control panel's own tools, with no software installed on the source.

## Same in the API

- [POST /move/test](https://urbestack.com/docs/api/post-move-test.md): Test the source server for a move

## Command family: move

- [urbestack-move-copy](https://urbestack.com/docs/commands/urbestack-move-copy.md): Copies accounts to the destination server while the source server continues serving them.
- [urbestack-move-cutover](https://urbestack.com/docs/commands/urbestack-move-cutover.md): Cuts over accounts that have been copied at least once.
- [urbestack-move-forget](https://urbestack.com/docs/commands/urbestack-move-forget.md): Forgets the source server of a move.
- [urbestack-move-list](https://urbestack.com/docs/commands/urbestack-move-list.md): Lists the customers and resellers on the source server after testing the connection.
- [urbestack-move-profile-preview](https://urbestack.com/docs/commands/urbestack-move-profile-preview.md): Previews what importing the source server's profile would change on the destination.
- [urbestack-move-source-begin](https://urbestack.com/docs/commands/urbestack-move-source-begin.md): Marks an account as leaving and lowers its DNS zone TTLs to 300 seconds so cached answers can expire within five minutes of cutover.
- [urbestack-move-source-dump](https://urbestack.com/docs/commands/urbestack-move-source-dump.md): Writes one database's SQL dump to standard output.
- [urbestack-move-source-freeze](https://urbestack.com/docs/commands/urbestack-move-source-freeze.md): Freezes an account on the source server for the final copy at cutover.
- [urbestack-move-source-handover](https://urbestack.com/docs/commands/urbestack-move-source-handover.md): Hands over a frozen customer or reseller account from the source server once it is live on the destination.
- [urbestack-move-source-info](https://urbestack.com/docs/commands/urbestack-move-source-info.md): Reports the source server's UrbeStack version, schema, hostname, nameservers and IP addresses, along with an inventory of its customer and reseller accounts.
- [urbestack-move-source-profile](https://urbestack.com/docs/commands/urbestack-move-source-profile.md): Returns the source server's profile for a move of all its accounts to another UrbeStack server.
- [urbestack-move-source-release](https://urbestack.com/docs/commands/urbestack-move-source-release.md): Releases an account from its current move state on the source server.
- [urbestack-move-source-slice](https://urbestack.com/docs/commands/urbestack-move-source-slice.md): Returns one account's data as it appears in a nightly export.
- [urbestack-move-status](https://urbestack.com/docs/commands/urbestack-move-status.md): Reports the status of a move on the destination server.
