Created
June 3, 2021 07:37
-
-
Save germanow/c3d9c2c25214c0a95e8eaecb4fc61871 to your computer and use it in GitHub Desktop.
SSH tunnel for postgres
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Once you run the command, you’ll be prompted to enter the remote SSH user password. | |
# Once entered, you will be logged into the remote server, and the SSH tunnel will be established. | |
# link https://linuxize.com/post/how-to-setup-ssh-tunneling/ | |
ssh -L 127.0.0.1:5432:127.0.0.1:5432 -p 2211 [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment