Skip to content

Instantly share code, notes, and snippets.

Created Dec 4, 2012
What would you like to do?
aliases for creating and killing an ssh tunnel using sshuttle
alias tunnel='sshuttle -D --pidfile=/tmp/ -r <server> --dns 0/0'
alias stoptunnel='[[ -f /tmp/ ]] && kill `cat /tmp/`'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment