SirTunnel/tunnel.sh
2020-09-22 23:06:03 -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