Authentication methods
Password auth
Simpler to configure. Use for internal servers or quick testing. Store the password as a secret in the destination config.
SSH key auth
Recommended for production. Mapping.Travel generates a persistent per-org key pair. You add the public key to your server’s
authorized_keys.Password authentication
Create via API
SSH public-key authentication
Step 1 — Fetch your org’s public key
Each organization has a single persistent SSH key pair managed by Mapping.Travel. The public key is generated the first time you request it (idempotent on subsequent requests):mapping-travel-org_…) identifies your organization.
Step 2 — Authorize the key on your SFTP server
Append the public key to~/.ssh/authorized_keys for the SFTP user:
authorized_keys directly.
Step 3 — Capture host fingerprints
Before creating the destination, collect the server’s host fingerprints so Mapping.Travel can perform strict host checking:Step 4 — Create the destination
authMethod is "PUBLIC_KEY", omit password — the org key pair is used automatically.
Capturing host fingerprints
Host fingerprints protect against man-in-the-middle attacks. You should supply at least one fingerprint for every destination.hostFingerprints array. If the server presents a key that does not match any of the configured fingerprints, the delivery fails with HOST_KEY_MISMATCH and is not retried until you update the config.
Remote path conventions
TheremotePath field sets the directory on the SFTP server where files are written. The SFTP user must have write permission to this directory.
remotePath | File written at |
|---|---|
/incoming/ | /incoming/mapping_results_INV-1234_2026-06-07.csv |
/home/mapping-travel/exports/ | /home/mapping-travel/exports/mapping_results_INV-1234_2026-06-07.csv |
Troubleshooting
Authentication failed — wrong credentials or key not authorized
Authentication failed — wrong credentials or key not authorized
HOST_KEY_MISMATCH — fingerprint doesn't match
HOST_KEY_MISMATCH — fingerprint doesn't match
The server’s current host key does not match any fingerprint in
hostFingerprints. This can mean:- You copied the fingerprint incorrectly. Re-run
ssh-keyscanand compare. - The server rotated its host key (e.g. after a rebuild). Update the destination with the new fingerprint.
- A genuine host key substitution attack. Investigate before updating.
No such file or directory — remote path missing
No such file or directory — remote path missing
The
remotePath directory must exist before Mapping.Travel attempts delivery. Create it on the SFTP server:Connection timeout or refused
Connection timeout or refused
Verify the
host and port are reachable from the public internet. If the SFTP server is behind a firewall, allow inbound connections from Mapping.Travel’s egress IP range (contact support for the current list).