Setting up an SFTP Connection
SFTP (Secure File Transfer Protocol) is a common way to move files securely between companies, such as daily data files from a partner or provider. Nexadata connects to an SFTP server to pick up files as Datasets and to write Pipeline output back to the server.
Most of the setup happens on the server side, with your IT team or the administrator of the SFTP server. This page lists what to ask for, explains each term, and then walks you through adding the connection in Nexadata.
Overview
Section titled “Overview”Before you add the connection in Nexadata, make sure you have:
- An SFTP account for Nexadata on the server (Step 1).
- A password or a key pair that Nexadata signs in with (Step 2).
- The Nexadata IP address on the server’s allowlist (Step 3).
- PGP keys, only if the files on the server are encrypted (Step 4).
You can add as many SFTP connections as you need, one for each server.
Step 1: Get an SFTP Account for Nexadata
Section titled “Step 1: Get an SFTP Account for Nexadata”Ask the server administrator for an SFTP account dedicated to Nexadata. It needs:
- Read access to the folders Nexadata imports files from.
- Write access only if Nexadata writes files back to the server.
They’ll give you the server’s address (the host, for example sftp.example.com) and a username.
Step 2: Choose How Nexadata Signs In
Section titled “Step 2: Choose How Nexadata Signs In”Nexadata signs in to an SFTP server in one of two ways:
- Password: the server administrator gives you a username and a password for the account.
- Private Key: you use a username and a key pair, two matching text files. The private key goes into Nexadata, and the public key goes on the server.
The server administrator usually decides which one to use. If they give you a password, you’re ready for Step 3. If they give you a key file, or ask you to send them a public key, follow Preparing SFTP Access for Nexadata. It shows you how to check a key’s format, remove a passphrase, and create a new key pair, with commands for Mac and Windows.
Nexadata accepts RSA private keys in both OpenSSH and PEM format. Use a key without a passphrase.
Step 3: Allowlist the Nexadata IP Address
Section titled “Step 3: Allowlist the Nexadata IP Address”Many SFTP servers only accept connections from approved IP addresses. This list of approved addresses is called an allowlist.
Ask the server administrator to add this address to the allowlist for your SFTP account:
13.216.78.132It’s the one fixed address that all Nexadata SFTP connections come from, so it’s the only one the server needs to allow.
Step 4: PGP Encryption (Optional)
Section titled “Step 4: PGP Encryption (Optional)”Some providers also encrypt each file with PGP before putting it on the server. If yours does, Nexadata can decrypt the files for you: PGP key pairs can be tied to SFTP Datasets, and Nexadata also checks the file’s signature.
Step 5: Add the Connection in Nexadata
Section titled “Step 5: Add the Connection in Nexadata”With your sign-in details and allowlisting in place, add the connection.
-
From the Nexadata home screen, click New Connection in the Quick Actions panel, or go to Setup → Connections and click the ⨁ button in the upper right corner.
-
Give the connection a unique Name that clearly identifies the server, for example
Finance SFTP Server. -
Select SFTP as the Connection Type.
-
Select the Authentication Type: Password or Private Key.

-
Fill in the fields:
- Host: the server address the server administrator gave you, for example
sftp.example.com. - User: the SFTP username for the Nexadata account.
- Password: the account’s password, if you chose Password.
- Private Key: if you chose Private Key, paste the whole private key file, including the
-----BEGINand-----ENDlines.
- Host: the server address the server administrator gave you, for example
-
Click Submit.

The connection is saved and ready to use. Next, create a Dataset from it or add it as a Pipeline output.
Important Notes
Section titled “Important Notes”- Make sure the SFTP account has the right read and write permissions for the folders Nexadata uses.
- Directory traversal is fully supported, so Nexadata can work across multi-folder structures.
- Never email a private key. Send the server administrator only the public key, the file ending in
.pub. - Store your private keys and PGP keys according to your organization’s security policies.
- If the connection doesn’t work, see Troubleshooting an SFTP Connection.