Add client command for my Poor Man's ngrok
This commit is contained in:
parent
f3e2c69a36
commit
03043ee52b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user