Replies: 2 comments
-
|
The problem was in the "concept" of a tunnel.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I made this bash script as a workaround, require:
The script: pgcli-interactive.sh Ofc, its a POC, but it works until I can create a PR to the main project ;P |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment




Uh oh!
There was an error while loading. Please reload this page.
-
Hi again, team!
I ❤️ pgcli due to this parameter
--ssh-tunnel, I think it is the real GOAT.The thing is, I do not understand how to use the PG* env variables at the same time I try to connect via tunnel.
For example, pgAdmin4 uses my local .pgpass file even when I use SSH tunnels (they use the same library, as far as I know), but I'm not a developer to understand the difference.
In my example, I checked the connection via a bastion server called lm2.
Could someone help me use the pgpass via SSH tunnels?
Thanks a lot.
Diego.
Beta Was this translation helpful? Give feedback.
All reactions