SFTP/SSH Server
This location type — SFTP server - SSH File Transfer Protocol — connects to an SFTP server over an SSH-encrypted connection. It supports password authentication and private key authentication. After selecting this type and clicking Select drive/folder, the Select folder on server popup opens.
Connection Details
| Field | Description |
|---|---|
| Server address | The hostname or IP address of the SFTP server. |
| Port number | The SSH port of the server, usually 22. |
| Account name | The user name of the SFTP account. |
| Password | The password of the account. Not needed when you use a private key without password. |
Private Key Authentication
"Let the app access the server and authenticate using a public and private key pair instead of only a public key and a password. You need a private key file on your computer for this."
- Switch the option on.
- Under Private key file, click Browse... and select your private key file.
- Enter the Private key file passphrase (leave empty if there isn't any).
When the option is on but no key file is selected, SyncFolder shows "You must select a private key file".
Connecting and Selecting a Folder
- Once all fields are filled in, click Connect.
- The first time, SyncFolder shows the server's host key: "The server's host key is unknown. Examine the key fingerprint to make sure that the server can be trusted." It lists the host key algorithm and fingerprints. Click Accept if you trust the server, or Modify server to change the connection.
- SyncFolder shows the server's folder structure. Select the desired folder (you can also create a new folder) and confirm the selection.
Compare the fingerprint with the one your server administrator or hosting provider gives you. If the host key of a known server suddenly changes, don't accept it before you know why — it could mean that someone is impersonating the server.
If the connection fails, check the server address, port and credentials. If you use a private key, make sure the key file belongs to the account and that the passphrase is correct. When you rejected the host key, the task fails with "The server's host key was not accepted."
Changing the Connection Later
You can change the server details or choose a different folder at any time by clicking Select drive/folder again.
Related topics: Storage Location · FTP/FTPS Server · Permissions