I'm registering a new server in pgAdmin desktop client for Windows. In the SSH Tunnel tab, the "Save password?" field is greyed out, even when I've filled in all of the fields. Why is this?

enter image description here

Extra details:

  • I've set a master password for the app
  • When I click save, it connects fine, but on restarting pgAdmin and entering my master password, when I connect to this server again I'm asked to enter the SSH key password again. The "Save Password" field is also greyed out in this dialogue.
  • I couldn't find any help in the documentation about why this field might be greyed out.

1 Answer 1


In your user config file (which could be for example in /usr/pgadmin4/web/config_local.py) create a line that looks like this:

ALLOW_SAVE_TUNNEL_PASSWORD = True  # SSH tunnel password saving, default False

For more details see this answer.

  • As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
    – Community Bot
    Commented Jul 24, 2023 at 2:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.