Re: Weird GSSAPI error - trying to connect via SSH tunnel - Mailing list pgsql-admin

From Jeff Janes
Subject Re: Weird GSSAPI error - trying to connect via SSH tunnel
Date
Msg-id CAMkU=1wZXRyKmaSOuxZ0GpOHUx4F8TKGetKr+JuaUKovS10H7g@mail.gmail.com
Whole thread Raw
In response to Weird GSSAPI error - trying to connect via SSH tunnel  ("linux.il" <linux.il@gmail.com>)
Responses Re: Weird GSSAPI error - trying to connect via SSH tunnel
List pgsql-admin
On Thu, Apr 28, 2022 at 5:57 AM linux.il <linux.il@gmail.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
 

pgsql-admin by date:

Previous
From: hubert depesz lubaczewski
Date:
Subject: Re: Hot standby writable?
Next
From: "linux.il"
Date:
Subject: Re: Weird GSSAPI error - trying to connect via SSH tunnel