[GH-ISSUE #5] Using ssh tunnel to access DB #4

Closed
opened 2026-02-26 21:33:58 +03:00 by kerem · 2 comments
Owner

Originally created by @alex-grandson on GitHub (Jul 29, 2024).
Original GitHub issue: https://github.com/eduardolat/pgbackweb/issues/5

This might be the case when DB hosted locally without exposed ports like in docker compose with postgres service ports like 127.0.0.1:5432:5432. I understand that this is not a high priority right now, but it would be very cool to have such functionality. Also it would be nice to have an opportunity to load private ssh key or use log/pass methods on choice.
Thanks

Originally created by @alex-grandson on GitHub (Jul 29, 2024). Original GitHub issue: https://github.com/eduardolat/pgbackweb/issues/5 This might be the case when DB hosted locally without exposed ports like in docker compose with postgres service ports like `127.0.0.1:5432:5432`. I understand that this is not a high priority right now, but it would be very cool to have such functionality. Also it would be nice to have an opportunity to load private ssh key or use log/pass methods on choice. Thanks
kerem closed this issue 2026-02-26 21:33:58 +03:00
Author
Owner

@eduardolat commented on GitHub (Aug 4, 2024):

If your postgres is on the same server you can use docker networking to connect without having to expose the port outside the server

<!-- gh-comment-id:2267340058 --> @eduardolat commented on GitHub (Aug 4, 2024): If your postgres is on the same server you can use docker networking to connect without having to expose the port outside the server
Author
Owner

@iamxiyang commented on GitHub (May 15, 2025):

My Postgres and pgbackweb are not on the same server. Does it support connecting to Postgres via SSH?

<!-- gh-comment-id:2883843963 --> @iamxiyang commented on GitHub (May 15, 2025): My Postgres and pgbackweb are not on the same server. Does it support connecting to Postgres via SSH?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pgbackweb#4
No description provided.