Error: Unable To Connect to SSH Tunnel
Issue
While connecting a database to Fivetran using an SSH tunnel, the following error appears:
Unable to connect to SSH tunnel. Connection error: connect timed out
Environment
Database connectors using the SSH tunnel connection method.
Resolution
To resolve this issue, do the following:
- Ensure your tunnel server's SSH port is accessible from all applicable Fivetran IP addresses.
- In Fivetran, go to your database connector page.
- Select the Setup tab.
- Click Edit connection details.
- Check that the information in the SSH Host and SSH Port fields is correct.
- If you must update either field, click Save & Test.
NOTE: If Fivetran provides your SSH tunnel, contact our support team.
Cause
This issue occurs when the client is unable to establish a connection to the server within the time-out period. This may happen when the server doesn't respond to the client, or the connection is blocked.