SFTP connections
On this page

SFTP connections

Create an SFTP connection to upload feeds to a server. Feeds using the same server can share a connection under Arlanix → Integrations → SFTP Connections.

What you need

Ask the server owner for:

  • Host and Port;
  • Username and Password;
  • SHA-256 host-key fingerprint, which verifies the server's identity. The SHA256: prefix is optional.

For Google's server, get these details when creating the SFTP data source in Merchant Center.

For key authentication or a missing fingerprint, ask your developer to follow SFTP delivery.

Make the connection

  1. Open the Arlanix menu and choose SFTP Connections under Integrations:

    The Arlanix menu open, with SFTP Connections lifted

  2. Press Add SFTP connection:

    The Add SFTP connection button above the grid

  3. Fill in the form:

    The SFTP connection form, filled in for a warehouse server

    • Name: a label such as Warehouse SFTP or Google Merchant Center.
    • Host, Port and Username: enter the server's details, including its port, for example 22. For Merchant Center, copy the port from its connection details.
    • Authentication: Password.
    • SHA-256 host-key fingerprint and Password: the supplied values.
  4. Press Save & Close, under the arrow beside Save:

    The Save button above the connection form, with the arrow that holds Save & Close

    Saving tests the login. Save does the same check and keeps the form open.

When it is connected

The grid comes back with SFTP connection saved and connected., and the connection is Connected:

The grid after the save: "SFTP connection saved and connected." and the connection Connected

The form also confirms the connection:

The connection form: "Connected. Feeds can deliver through it." above Test Connection

If an upload fails, use Test Connection to check server access. A failed test marks the connection Failed and blocks uploads. Fix the cause, then save or press Connect: see When the server refuses it.

Upload a feed through it

  1. Open the feed, unfold Channel and set Channel to SFTP:

    The Channel section for SFTP: Channel SFTP, Format, SFTP connection, Remote file name or path

    • Format: choose the file format your recipient expects. For a file data source, match its format, for example XML.
    • SFTP connection: select the connection. The pencil edits it; + creates another.
    • Remote file name or path: for Merchant Center, use the data source's exact file name, such as google-shopping.xml, without a folder. Other servers can use an absolute path such as /feeds/google-shopping.xml; the folder must exist.
  2. Save the feed. The next run uploads it, or choose Select → Deliver to SFTP to queue it now. Check Health for the result.

When the server refuses it

The connection is saved as Failed, and uploads are blocked. The form shows SFTP connection saved, but the server did not accept it: and the reason:

The connection form after a refused save: the message at the top, and the reason above Connect

What to do depends on the message:

  • SFTP authentication failed. Check the username and authentication credentials.: check the username and credentials for the selected authentication method. If you change them, press Save.
  • Could not connect to the SFTP server. Check host, port and network access.: check the host and the port. If they are right, the server may be down, or it does not let your store in: press Connect later, or send the message to your developer.
  • SFTP server host-key fingerprint does not match the configured SHA-256 fingerprint.: check the fingerprint. If it is as you were given it, send the message to your developer.
  • The SFTP server host key could not be read or verified. …: confirm the host and port with the server owner. If they are correct, send the message to your developer.
  • The private key could not be loaded. Check the key and its passphrase.: ask your developer to check the private key and passphrase stored on this connection.

For any other message, send it to your developer.

Change or delete the connection

Go to Arlanix → Integrations → SFTP Connections and choose Select → Edit.

  • Saving changed connection details tests access again. Renaming a connected entry keeps its connection.
  • An empty Password keeps the saved password. If you change the host, port, username or fingerprint, enter credentials again. Stored credentials are not reused for a changed destination.
  • Save changes before using Connect or Test Connection. These buttons test saved settings.

To delete the connection, click Select in its row, then Delete. It asks first: click OK.

Delete SFTP connection: Are you sure you want to delete this connection?, with Cancel and OK

A connection used by feeds cannot be deleted. Choose another connection in those feeds first: see Troubleshooting.