Hosting knowledge without the jargon. Explore company profiles
Article Transfer identity

SFTP host key changes: verify the server before reconnecting

Investigate SFTP host key changes through a trusted provider route before replacing a saved server identity or entering credentials into the changed connection.

Editorial decision diagram showing Changed identity, Trusted confirmation, Exact comparison, Narrow update for SFTP host key changes.

SFTP host key changes should prompt a check of the server's identity before the saved trust record is replaced. Pause the transfer and confirm the intended hostname and endpoint through a trusted provider route. A legitimate hosting rebuild can change a key, but the warning itself does not establish that the new identity is genuine.

Keep server identity separate from the account password or client authentication key. A successful explanation of one does not automatically resolve the other. The practical goal is to reconnect to the intended server with verified trust, not simply clear a message so the transfer can continue.

Record the warning without exposing secrets

Note the hostname, port, client and time involved. Retain the relevant fingerprint information through the organisation's approved operational record.

Do not include passwords, private keys or unrelated account material in a general support message. The identity comparison needs the server reference and observed key details, not the secrets used to authenticate the account.

The SFTP introduction helps establish these roles. The server's host key identifies the remote endpoint; it is not the same thing as an individual user's login credential.

Confirm that the destination is intentional

Check the configured endpoint against the current hosting handover. A renamed service, copied deployment setting or alternate port may lead the client to a different supported endpoint.

Ask whether a recent migration or provider maintenance changed the expected server. Do not assume that a familiar display label in the client proves the connection still targets the recorded host.

In a hypothetical account move, the transfer tool may retain the old server address while the team expects the new platform. Resolve that destination mismatch before deciding which stored fingerprint belongs in the client's trust record.

Obtain confirmation through a trusted route

Use an already trusted provider control panel, established support route or approved operational channel to confirm the expected identity and reason for change. Do not treat information obtained only through the questioned connection as independent verification.

Ask for the relevant fingerprint or documented verification method for the actual endpoint and port. A generic statement that maintenance occurred does not necessarily identify the key the client has observed.

If the provider cannot yet establish the expected identity, keep the uncertainty open and escalate it. A deployment deadline is not evidence that a changed endpoint is safe to trust.

Compare the exact identity information

Use the client's supported view and the provider's documented method to compare the relevant fingerprint. Keep the algorithm or format context clear so two different representations are not mistaken for a match or mismatch.

Where the endpoint supports several host key types, ask the provider which result applies to the client's connection. Avoid replacing a mismatch with a guessed value from another service name.

The guide to recording hosting details before changes helps retain a useful reference. The record should explain which endpoint was verified and through which trusted route.

If a client displays an address as well as a hostname in its warning, preserve both in the investigation. A provider may legitimately change the server behind a service name, while a manually entered address can lead elsewhere. Ask the provider to explain the intended mapping instead of accepting whichever connection avoids the warning. After verification, ensure the saved deployment configuration uses the endpoint the organisation actually intends to maintain, so another operator does not repeat the old destination mistake.

Update saved trust narrowly

Once the identity is established, use the client's supported process to update the relevant saved entry. Avoid removing all stored host identities or disabling checking globally merely to resolve one changed server.

Keep the change scoped to the verified endpoint. Other sites or transfer accounts using the same client may rely on different valid records that should remain intact.

Record the reason and confirmation reference without retaining unnecessary account secrets. If another authorised operator needs the same update, give them the verified information through the approved handover route rather than asking them to accept the next warning automatically.

Reconnect and verify the intended scope

Connect through the verified endpoint and confirm that the account sees the expected site area. Check the documented domain-specific destination before transferring any release files.

Use the safe hosting handover guide to keep access and identity ownership maintainable. A host key change may be legitimate while an old account scope or destination mapping still needs correction.

If a new unexplained warning appears, investigate it separately. A good resolution leaves a recorded chain from warning to trusted confirmation to narrow client update, with the original identity protection still operating for future connections.

Frequently asked questions

Does a changed host key always mean an attack?

No. A legitimate server change can cause it, but it still needs verification. The warning does not explain the cause or prove the new identity is trustworthy.

Can the saved identity simply be deleted to reconnect?

Only replace the relevant entry after the new identity has been established through a trusted route. Clearing the warning alone does not verify the server.

Is the host key the same as my account's private key?

No. They serve different roles. Keep server identity verification distinct from the credentials used to authenticate your individual transfer account.