Created
March 25, 2019 21:07
-
-
Save jps1st/4aa147d528328934072a420b578bbba5 to your computer and use it in GitHub Desktop.
Create an ssh (port 2222) tunnel to a remote mongodb server so you can access it on localhost (port 27018)
This file contains 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
ssh root@myserver.com -p2222 -L 27018:127.0.0.1:27017 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment