Re: Weird GSSAPI error - trying to connect via SSH tunnel

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: "linux(dot)il" <linux(dot)il(at)gmail(dot)com>
Cc: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Weird GSSAPI error - trying to connect via SSH tunnel
Date: 2022-04-28 15:18:05
Message-ID: CAMkU=1wZXRyKmaSOuxZ0GpOHUx4F8TKGetKr+JuaUKovS10H7g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, Apr 28, 2022 at 5:57 AM linux.il <linux(dot)il(at)gmail(dot)com> wrote:

> Hi,
> I'm trying to connect to AWS RDS instance with private IP using SSH
> tunnel.
> I have no problems with network/credentials - I tested SSH tunnel to my
> Postgres server using command-line, and I was able to connect.
> But no luck with PgAdmin - I'm getting a GSSAPI error message (sorry for
> screenshot, but Pgadmin for Mac doesn't allow me copy-paste text).
>

That is just log spam. Since it found GSS credentials in the local
environment, that is the first thing it tried. But it failed, probably
because the server didn't want to use it. So then it moved on to the next
method, which was password auth, and that also failed.That is the real
error. Look in the server log file to possibly get more details on that
failure. The error sent to unauthenticated users is intentionally vague to
avoid leaking information.

Cheers,

Jeff

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message linux.il 2022-04-28 17:46:50 Re: Weird GSSAPI error - trying to connect via SSH tunnel
Previous Message hubert depesz lubaczewski 2022-04-28 12:10:05 Re: Hot standby writable?