Skip to content

Instantly share code, notes, and snippets.

@matthew-inamdar
Created September 24, 2018 15:13
Show Gist options
  • Save matthew-inamdar/f91ab64eb086606eddcfa190f6161d53 to your computer and use it in GitHub Desktop.
Save matthew-inamdar/f91ab64eb086606eddcfa190f6161d53 to your computer and use it in GitHub Desktop.
SSH into vagrant box and share ports from host machine
# 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