DNS ODBC Driver configuration for SSH RDS

683 Views Asked by At

I´d like to know if it is possible to connect to my rds database from my local machine (windows) using windows odbc data source. My problem is that I use SSH and i don´t know how can I input the parameters in odbc data source. I need this type of connection because I want to access RDS via vba excel. My database is Postgresql.

2

There are 2 best solutions below

0
user1487861 On

If you have a publicly accessible database (not recommended by AWS) and your IP address is allowed, then the normal ODBC connection will work.

By the sound of your setup, you have a private database. In which case, your options are:

  1. Use a different ODBC driver that supports tunnelling.

Devart (https://www.devart.com/odbc/postgresql/) and Cdata (https://cdn.cdata.com/help/FPG/odbc/RSBPostgresql_c_SSH.htm) both have ODBC drivers that support SSH tunnelling.

Neither are free.

  1. Use a VPN and point your driver at localhost
0
Devart On

Indeed, you can use Devart ODBC Driver for PostgreSQL to access data in the specified environment. Please check additional information in the documentation: https://docs.devart.com/odbc/postgresql/ssh.htm