Connecting to Data Sources
SSH Tunnels
Connecting to Data Sources
SSH Tunnels
Intro
Find out more about SSH Tunnels, in general, here.
Connecting via SSH Tunnels
To connect to your database via an SSH tunnel, you will need to provide these credentials in the “Security” section of the connection flow:
-
SSH Server Hostname
-
SSH Server Port
-
SSH Username
-
SSH Key
- There are two options for SSH keys,
External Private Key
orExplo Private Key
. See the section below for more information about which to use.
- There are two options for SSH keys,
-
(optionally) SSH Local Bind Port
SSH Keys
Our recommendation between the two options is to use Explo’s Private Key.
Explo Private Key:
- You’ll be able to copy our public key and add it to your infrastructure under your chosen username (we recommend
explo
). This would set up the connection such that you would not need to exchange any private keys.
External Private Key:
- You’ll pass in your RSA private key to Explo to utilize in authenticating with the SSH box.
SSH Configuration Recommendations
Check your SSH box’s sshd config (it’s normally located in
/etc/ssh/sshd_config
). We recommend setting MaxSessions
and MaxStartups
to 100.
Questions?
Please reach out to the Explo team at support@explo.co if you have any questions.