Browse Source

Add client command for my Poor Man's ngrok

master
Noah Petherbridge 5 years ago
parent
commit
03043ee52b
  1. 7
      home/.common.sh

7
home/.common.sh

@ -9,6 +9,13 @@ dfm check-update
## 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
# e.g.
# rgit status

Loading…
Cancel
Save