Re: pgAdmin with SSHTunneling support

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: pgAdmin with SSHTunneling support
Date: 2012-10-17 14:12:31
Message-ID: CA+OCxoxGe2KRZo6k0xFAJ0yLoq-GyBdnKvTYSqLQTwsMF7Xn+g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi

On Wed, Oct 17, 2012 at 1:44 PM, Akshay Joshi
<akshay(dot)joshi(at)enterprisedb(dot)com> wrote:
> Hi Dave
>
> I have implemented SSH Tunneling and integrate it with pgAdmin3. I have
> tested it on Windows, Linux and MAC. Attached is the patch file.
> Please review it and if it looks OK then can you please commit it.

Cool :-)

I found a couple of things on my initial tests on Mac:

- On my first attempt to connect to a server, I opened the properties
dialogue, and enabled SSH Tunneling, specifying the username and host
etc. When I then tried to connect to the server it prompted for the
SSH password, but didn't prompt for a password for the database, so
the connection failed. The second time I tried, it first prompted for
the database password, then then SSH password which worked fine. When
I restarted pgAdmin, it again failed to prompt for the database
password on the first, but not second attempts.

- If I attempt to connect via SSH Tunnel, but cancel when I'm prompted
for a password, the connection attempt proceeds anyway, then fails
first with a valid error message about password auth failing, then
with an "empty" error message about connecting to the (database?)
server.

- When attempting to connect with an identity file, I first get
prompted for a password anyway, then if I just hit return on that
dialogue, I get a message telling me that identity file auth failed
(followed by the same "empty" error message).

Thanks.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Richard PALO 2012-10-19 06:36:23 patch proposal for acinclude.m4 to better support gcc on illumos/smartos
Previous Message Akshay Joshi 2012-10-17 12:44:55 pgAdmin with SSHTunneling support