1
0

Add client command for my Poor Man's ngrok

This commit is contained in:
Noah 2017-05-04 10:23:40 -07:00
parent f3e2c69a36
commit 03043ee52b

View File

@ -9,6 +9,13 @@ dfm check-update
## Functions ## Functions
################################################################################ ################################################################################
# Poor Man's ngrok. https://www.kirsle.net/blog/entry/poor-mans-ngrok
tunup() {
port=${1:-5000}
echo "Forwarding kirsle.net:5000 to local port $port"
ssh -R $port:127.0.0.1:5000 kirsle
}
# Recursively traverse directory tree for git repositories, run git command # Recursively traverse directory tree for git repositories, run git command
# e.g. # e.g.
# rgit status # rgit status