Connection string for Postgres DB through SSH tunnel

I have a AWS architecture where I have a Postgres DB to connect via SSH jumphost. I can connect to this DB using pgAdmin (using SSH tunnel and DB info). What is the connection string should I use to connect for this DB (in .NET)?

0 answers