1
0

Fix port number placement in tunup()

This commit is contained in:
Noah 2017-06-05 15:18:40 -07:00
parent 03043ee52b
commit 594b1c98af

View File

@ -13,7 +13,7 @@ dfm check-update
tunup() { tunup() {
port=${1:-5000} port=${1:-5000}
echo "Forwarding kirsle.net:5000 to local port $port" echo "Forwarding kirsle.net:5000 to local port $port"
ssh -R $port:127.0.0.1:5000 kirsle ssh -R 5000:127.0.0.1:$port kirsle
} }
# Recursively traverse directory tree for git repositories, run git command # Recursively traverse directory tree for git repositories, run git command