Created
September 24, 2018 15:13
-
-
Save matthew-inamdar/f91ab64eb086606eddcfa190f6161d53 to your computer and use it in GitHub Desktop.
SSH into vagrant box and share ports from host machine
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
# Where 12345 is the host port and 80 is what it maps to. | |
vagrant ssh -- -R 12345:localhost:80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment