Fix port number placement in tunup()
This commit is contained in:
parent
03043ee52b
commit
594b1c98af
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user