Search code examples
postgresqlpgadmin-4

Pgadmin 4 returns "No password or public key available!"


I'm following the steps for How to connect PGAdmin4 to DB through SSH tunnel with Public key authentication.

I point it to the identity file I generated through OpenSSH (has no extension) but whenever I hit save it says "No password or public key available!"

Any idea how to solve?


Solution

  • Ok I found the answer: Need to convert the SSH private key to a RSA private key using

    ssh-keygen -p -N "" -m pem -f /path/to/key
    

    Source