![]() ![]() So now, when something (like pgadmin or dBeaver) connects to my laptop's port 5432, it actually gets sent to what on the the SSH server's networking side is localhost:5432 As far as the dbserver is concerned, it's seeing a connection from its localhost. for postgresql, so port 5432): ssh -L 5432:localhost:5432 Say I have a database-exploring GUI on my laptop (pgadmin, dbeaver, etc.), and a database server in the corner of my room that has SSH open but is otherwise firewalled on that laptop I might do (e.g. here's some introduction via real uses I've had for it: Why that is useful is not immediately obvious, so. It will be carried through that existing SSH connection to the other side.and from that other side there will be a new, non-secured (!) TCP connection, to the a host and port you also specified.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |