Skip to content

SSH tunnel errors

The SSH login and the database login are separate: either one can prevent a tunneled connection.

Key authentication can report:

You selected a public key file (.pub). Please select your private key file instead.
SSH key is encrypted and requires a passphrase
Incorrect passphrase for SSH key

A connection can also stop at host-key verification or fail when forwarding traffic to the database.

  1. Compare SSH Server, Port, and User with your SSH account details.
  2. Check the Debug Log in the connection test results or error details.
  3. Identify whether authentication, host verification, or database forwarding failed.

For timeouts before SSH authentication, use the network checks. Include the Local Network permission check for an SSH server on your local network.

Use Browse… in the SSH settings to select the private key. A .pub file is its public counterpart.

TableAI accepts Ed25519, RSA, and ECDSA keys. Enter the encrypted key’s passphrase in Key Passphrase; the SSH account password is a different credential.

Select the key again if it moved or you configured the connection on another Mac. File access permissions do not sync. Keep private key contents out of diagnostics and support requests.

Compare the displayed fingerprint with a trusted copy from the server owner. Accept it only after you verify the server’s identity.

  • Accept Once trusts the key for this attempt.
  • Accept & Remember stores the fingerprint in Keychain.
  • Reject stops the attempt.

Verify why a remembered key changed before accepting its replacement. A changed key can indicate server maintenance or impersonation.

The database Host and Port must be reachable from the SSH server. A loopback address refers to that server, rather than your Mac.

For a local or Docker setup, check the database listener and any published container port from the SSH server. For a cloud database, check firewall access from the SSH server’s address.

On a company server, ask the administrator to check TCP forwarding permissions and access to the database endpoint. If forwarding succeeds but database authentication fails, return to connection failed.

Compare the form with SSH tunnel setup. Check TLS errors if the database rejects certificate verification after the tunnel opens.

Include the failed SSH stage in a support report.