Connectors
...
Databases
Databases FAQ
How to Test a SSH Tunnel Connection
3 min
if you want to test your ssh tunnel connection for interoperability with dlh io to ensure dlh io can reach your database securely behind your ssh server, the outlined instruction below should provide clarity on how to do so dlh io ssh tunneling option our recommendation for testing based on our experience we recommend a few of tests to ensure that dlh io is able to connect to your databases via ssh protocols in dlh io there are two options for connecting from dlh io to your ssh server while the protocol is the same the selectivity of private/public key is different to allow for advanced use cases those options are customer supplied private key this is the default and currently the preferred method for accounts this may be later restricted to enterprise accounts and above to test the connection from one machine to another to emulate how dlh io will connect to your ssh server open a terminal window or similar ui application on your local machine, laptop, or virtual machine locate your ssh private key that is associated with the public key on your ssh server enter the standard ssh connection command using the user on the ssh server your key is associated with ssh dlh ssh user@\<your ssh server ip address> if this doesn't connect then you have an issue somewhere in your network most likely please confirm any firewall settings and that you have grantlisted/safelisted ips accordingly icmp protocol should be open on the machine as well ping \<your database ip or dns> use telnet to confirm your terminal commands will actually reach the database via correct port telnet \<your database ip or dns> \<your database port> log any issues and correct them before creating an ssh enabled connection integration on dlh io or contact support done! dlh io supplied public key please contact support on how to get a public key if not on the enterprise plan or not sure/confident on how to createa public and private key in your environment ssh private key form field format when entering your private key in the dlh io form field please use the full private key begin to end text for example \ begin openssh private key xxxxxnnzac1rzxktdjeaaaaabg5vbmuaaaaebm9uzqaaaaaaaaabaaablwaaaadzc2gtcn nhaaaaaweaaqaaayeaw5z4wsn5cl/gglrmgagkkqlixoiue2pq3dddthjfuwxxgpequjs1 b7h1piedoisxauujjs0g7tvnm/jtxo8j99s9hk3rgajyfstxa7zhdeejf3oxoke4sanarq jolhyynme1kkomt72+1myvrmbyot2up5dkwkqe4s7cl/dunhlk2u5xzga9lmfllxvig/ok fnl616eeyviano6sop4ebb2flhishvrzhcue3vkdaaafoihyqlwb2kpvaaaab3nzac1yc2 eaaagbamoc+mep+xc/4ijazigocpki4sairntj6tw3xbyy37lscydxkribnx109septutl 7xhinw4zzb2tl3g9lrtk3zl4imr37pr0z6+3llmnlufxvud2ck+rwafxhezpvt8ombloez udproutqvgrjuqhndy0aldtycnlkdrdfzgyomy3vylnyxqeuipn1egessrfcqlqvcduxoo kpntmp1h11rq9zaaaajgnocmlzdglhbkbbsxxxxxnocmlzdglhbi1nqlbyby5sb2nhbaec axxxxxx== \ end openssh private key nb depending on your connection in dlh io you may use openssh or a rsa private key please contact support if you are unsure which to use if assistance is required for instructions on how to create a ssh private and public key pair view this section, ssh tunnel setup for hosted database systems docid\ ma2qdwru0tzaryekirsjt