SirTunnel/create_tunnel_example.sh
2020-09-27 09:47:17 -06:00

7 lines
132 B
Bash
Executable file

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