Esc

SSH tunnels

Reach databases behind firewalls by routing the connection through a bastion host.

SSH tunnels

Arris can open an SSH tunnel before connecting to a database, routing all traffic through a secure channel to a bastion host. Configure the tunnel in the SSH Tunnel tab of the connection form. The following fields are available:

For authentication, Arris supports two methods:

A private key takes priority when both are supplied; in that case the password field is treated as the key's passphrase.

The tunnel is opened on demand when you connect and closed automatically when the connection is released. Arris allocates a random local port for each tunnel, so multiple SSH-tunneled connections can run simultaneously without port conflicts.

The Arris SSH Tunnel section of the connection form with an enabled SSH Tunnel toggle and SSH Host, SSH Port, SSH User, SSH Password, and Private Key fields
Enable the SSH Tunnel toggle, then fill in the bastion host, port, user, and either a password or a private key.

When to use SSH

Use an SSH tunnel when the database server is not directly reachable from your machine. Common scenarios include:

If the database is directly reachable (e.g., a local development server, a cloud database with a public endpoint, or you are already on the VPN), you do not need an SSH tunnel. Use SSL/TLS instead to encrypt the connection.