Thread: Feature idea: support for "run this command" before connecting to a database

Feature idea: support for "run this command" before connecting to a database

From
Brad Langhorst
Date:
eg: I need to set up a tunnel to connect to one of my db servers (in the
dmz)

ssh -N -L 54321:localhost:5432 username@mydmzhosthere

It would be nice if if could run that before opening the connection
automatically.

Brad



Re: Feature idea: support for "run this command" before connecting to a database

From
Guillaume Lelarge
Date:
Hi,

Le vendredi 21 août 2009 à 19:16:12, Brad Langhorst a écrit :
> eg: I need to set up a tunnel to connect to one of my db servers (in the
> dmz)
>
> ssh -N -L 54321:localhost:5432 username@mydmzhosthere
>
> It would be nice if if could run that before opening the connection
> automatically.
>

It would probably be better to support SSH tunnel right into pgAdmin. A ticket
already exists for this issue: http://code.pgadmin.org/trac/ticket/49

Thanks for your report.


--
Guillaume.http://www.postgresqlfr.orghttp://dalibo.com