Add tunnel.sh

This commit is contained in:
Anders Pitman 2020-09-22 23:06:03 -06:00
parent 9692803d90
commit da175ae7dc

7
tunnel.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
domain=$1
serverPort=$2
localPort=$3
ssh -t -R $serverPort:localhost:$localPort $domain sirtunnel $domain:$serverPort