Error: SSH_MSG_DISCONNECT: 2 Too Many Authentication Failures
Issue
While connecting a database to Fivetran using an SSH tunnel, the following error appears:
SSH_MSG_DISCONNECT: 2 Too many authentication failures
Environment
- Database connectors
- Connection method: SSH tunnel
Resolution
To resolve this issue, do the following:
- In Fivetran, go to your connection overview page.
- Select the Setup tab.
- Click Edit connection.
- Find and copy the Public Key.
- Add the public key to your SSH server's
authorized_keysfile.
For more information, see our SSH Tunnel setup documentation.
If the SSH tunnel is managed by Fivetran, contact our support team.