pgadmin-org / pgadmin4

pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.
https://www.pgadmin.org
Other
2.27k stars 611 forks source link

Option to save SSH key passphrase is greyed out #7602

Closed ahmgithubahm closed 1 week ago

ahmgithubahm commented 1 week ago

Describe the bug

I am unable to save the SSH key passphrase for a server's SSH tunnel config.

To Reproduce

Steps to reproduce the behavior:

  1. Create a new server connection, adding SSH tunnel config.
  2. The radio button to 'Save password?' (SSH key passphrase) is greyed out.
  3. Save the server anyway.
  4. Open the server, receive prompt to enter 'SSH Tunnel password for the identity file' (SSH key passphrase), but tick box to 'Save Password' is greyed out.

Expected behavior

I expect to be able to save the SSH key passphrase, as I used to.

Error message

None, just the options are greyed out.

Screenshots

image

image

Desktop (please complete the following information):

Additional context

n/a

pravesh-sharma commented 1 week ago

Hi @ahmgithubahm,

You need to set ALLOW_SAVE_TUNNEL_PASSWORD = True on your config_local.py file. You can get information about config files from here.