public inbox for [email protected]  
help / color / mirror / Atom feed
From: Akshay Joshi <[email protected]>
To: Dave Page <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: Regarding feature "Option to skip Password-Dialog for identity file"
Date: Mon, 29 Sep 2025 19:27:23 +0530
Message-ID: <CANxoLDch_B=O+zYcOL9=WMabnif8TRe-bxEbCwtkiZ0XXhHF5g@mail.gmail.com> (raw)

Hi Dave/Hackers,

I am working on the feature "Option to Skip Password Dialog for Identity
File" #6996 <https://github.com/pgadmin-org/pgadmin4/issues/6996;.

I initially tried implementing it so that the tunnel password would not be
requested upfront, and would only be prompted on error. However, the
*sshtunnel* library currently returns a generic error message, for which I
have created an issue on the SSHTunnel GitHub repository #305
<https://github.com/pahaz/sshtunnel/issues/305;.

This approach introduces multiple scenarios for when to prompt for the
tunnel password, making the code more complex and harder to maintain.

*Proposed solution:*
Add a new switch *"Prompt for password?"* in the server dialog under the
*SSHTunnel* tab. By default, the switch is set to *false* and is enabled
only when the authentication method is *Identity File*. See the screenshot
below for reference.
[image: Screenshot 2025-09-29 at 7.12.17 PM.png]

Thoughts/suggestions?


Akshay Joshi

Principal Engineer | Engineering Manager | pgAdmin Hacker

enterprisedb.com

*  Blog*: https://www.enterprisedb.com/akshay-joshi
*  GitHub*: https://github.com/akshay-joshi
*  LinkedIn*: https:// <http://goog_373708537;
www.linkedin.com/in/akshay-joshi-a9317b14


Attachments:

  [image/png] Screenshot 2025-09-29 at 7.12.17 PM.png (138.4K, 3-Screenshot%202025-09-29%20at%207.12.17%E2%80%AFPM.png)
  download | view image

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Regarding feature "Option to skip Password-Dialog for identity file"
  In-Reply-To: <CANxoLDch_B=O+zYcOL9=WMabnif8TRe-bxEbCwtkiZ0XXhHF5g@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox