Add tunnel.sh
This commit is contained in:
parent
9692803d90
commit
da175ae7dc
1 changed files with 7 additions and 0 deletions
7
tunnel.sh
Executable file
7
tunnel.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
domain=$1
|
||||
serverPort=$2
|
||||
localPort=$3
|
||||
|
||||
ssh -t -R $serverPort:localhost:$localPort $domain sirtunnel $domain:$serverPort
|
Loading…
Reference in a new issue