SSH BridgeSSH Bridge
Databases

Database SSH Tunnels and Security

Use an SSH tunnel when the database listens on a private address that is reachable from an SSH server but should not be exposed directly to the internet.

Configure an SSH Tunnel

  1. In the Add or Edit Database dialog, enable Connect through SSH tunnel.
  2. Enter the SSH host, port, and username.
  3. Select password or private-key authentication.
  4. For key authentication, choose the private-key file and enter its passphrase if required.
  5. Keep the database host set to the address seen from the SSH server, commonly 127.0.0.1 when the database runs on that server.
  6. Click Test before saving.

Encrypted Profile Storage

Database profiles follow the same vault model as protected SSH Bridge resources. The desktop app encrypts the complete profile before upload. The encrypted data includes the database password, SSH tunnel credentials, engine parameters, initialization queries, saved queries, query history, and export schedules. The backend stores an authenticated user's encrypted envelope and does not receive those profile fields as readable JSON.

Vault and Account Lifecycle

Your vault must be unlocked to save or load database profiles. When you sign out, SSH Bridge closes the managed database window and its active database sessions. The database window is also tied to the parent SSH Bridge process, so it is terminated when the main desktop application exits unexpectedly.

Security Recommendations

  • Use a dedicated database user with only the permissions required for the task.
  • Prefer TLS and a trusted certificate for remote database connections.
  • Use an SSH tunnel or private network instead of publishing a database listener to the internet.
  • Keep destructive statements in explicit transactions when the engine supports them.
  • Do not enable AI sample rows when query results contain sensitive data.