Last active
August 29, 2015 14:24
-
-
Save m0ngr31/2b4c5e6342008361ae56 to your computer and use it in GitHub Desktop.
Easy SSH tunnel of VM w/ grunt and live reload ports w/ auto tmux session
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 vagrant@192.168.137.100 -L 9000:127.0.0.1:9000 -L 35729:127.0.0.1:35729 -t -- /bin/sh -c 'tmux has-session && exec tmux attach || exec tmux' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment