Seda
  • Getting Started
  • Integrations
    • Integration Settings
    • Integrations
      • BigQuery
        • BigQuery Metadata Extracted
      • Snowflake
        • Snowflake Metadata Extracted
      • dbt cloud
      • dbt core
      • Redshift
        • Redshift Metadata Extracted
      • Postgres
        • Postgres Metadata Extracted
      • MySQL
        • MySQL Metadata Extracted
      • Confluence
        • Confluence Metadata Extracted
    • Security
      • Connecting via Reverse SSH Tunnel
      • Connecting via SSH Tunnel
  • FAQs
  • Policies
    • Terms of Use
    • Privacy Policy
    • Security Policy
    • Data Processing Agreement
Powered by GitBook
On this page
  • Getting Started
  • Setup
  • Running the agent
  • Using the reverse tunnel
  • Troubleshooting
Export as PDF
  1. Integrations
  2. Security

Connecting via Reverse SSH Tunnel

This page walks through connecting your data sources via a Reverse SSH Tunnel

PreviousSecurityNextConnecting via SSH Tunnel

Last updated 3 months ago

Getting Started

The Reverse SSH Tunnel is used securely connect local data sources without opening ports, while encrypting data in-transit.

Setup

On your own EC2/VM, you will run the secoda/agent docker image. You can use docker-compose, like so:

version: "3"
services:
  agent:
    restart: always
    image: "secoda/agent:latest"
    environment:
      - SSH_PORT=
      - SSH_HOST=
      - SSH_LISTEN_PORT=
      - SSH_KEY_BASE64=

To retrieve the docker compose environment for your tunnel, go to and create a new reverse tunnel.

Copy the details to your clipboard, and replace the contents of your docker compose file with this configuration.

Running the agent

Once you have inputted the values, you can restart the Secoda Agent with:

docker-compose down
docker-compose up -d

Using the reverse tunnel

On an integration credentials page, fill in the integration connection details. DNS names are resolved on the agent, so you may use local hostnames.

Select the reverse tunnel you would like to use. Test connection.

Troubleshooting

Upon running the agent, if the agent becomes stuck on the version number during the startup process, similar to:

agent  | OpenSSH_9.3p2, OpenSSL 3.1.3 19 Sep 2023

This typically means that the outbound connection is blocked. Please check your firewall settings. Secoda can adjust the outbound port to a whitelisted one if necessary.

https://app.secoda.co/tunnels