Set Up SFTP Using SSH Key Authentication
If your organization restricts password-based authentication (common in AWS-managed or security-hardened environments), you can connect Amplify to your SFTP server using SSH key authentication instead. This guide explains how to configure a secure SFTP connection using an SSH private key and highlights important considerations when using SFTP automations.Why Use SSH Key Authentication?
Many enterprise and cloud environments disable password-based authentication for enhanced security. SSH key authentication provides:- Stronger security
- Passwordless authentication
- Compliance with stricter IT and security policies
- Reduced risk of credential-based attacks
Configure Your SFTP Connection
- Open SFTP Settings in Amplify.
- Enter your SFTP server details:
- Host
- Port
- Username
- Under Authentication, provide your SSH Private Key.
- Click Save Connection.
Your SSH private key is securely used to authenticate your connection with the SFTP server. Ensure you upload the correct private key associated with the public key configured on your server.
SSH Key Requirements
Your SSH private key must be:- Valid
- Properly formatted
- Non-empty
Using Both Password and SSH Key
Amplify supports configuring both:- Username and password
- SSH private key
Send Faxes via SFTP
Once the connection is successfully established:- Faxes can be uploaded or moved into your configured SFTP folders.
- Amplify automatically syncs supported files to your SFTP server.
- You can organize workflows using folders and nested subfolders.
Update Your Authentication Method
If you’re switching from password authentication to SSH key authentication: After the sync finishes, update your authentication settings and save the connection again.Disconnect or Remove an SFTP Connection
Before removing an SFTP connection:- Disconnect the active connection.
- Remove the saved configuration.
Automation Permissions
SFTP automations are managed at the account owner level. If sub-users need access to files synchronized through integrations, the account owner must grant access to the corresponding destination. For example:- If files are synced to Google Drive, the owner must share the appropriate Google Drive folder with the required sub-users.
- If files are synced through SFTP, the owner must ensure that sub-users have access to the appropriate folders on the SFTP server.
Avoid Automation Conflicts
Multiple users should not configure automations that perform the same action on the same fax. For example, if both the account owner and a sub-user configure a Move to Folder automation for the same fax, the sub-user’s automation can override the owner’s automation. This may prevent the expected action from completing and make it appear that the automation has failed.Troubleshooting
Cannot save the SFTP connection
Possible causes:- The SSH private key is missing.
- The SSH private key is invalid.
- The key is incorrectly formatted.
Authentication failed
Verify that:- Your SFTP server accepts SSH key authentication.
- The corresponding public key has been added to the server for the configured user.
- The username matches the registered SSH key.