Updated tunnel script to use olympus as defined in sshconfig

This commit is contained in:
Dreaded_X 2023-04-05 20:56:22 +02:00
parent 5d4821348c
commit e82f6c7b14
Signed by: Dreaded_X
GPG Key ID: FA5F485356B0D2D4

View File

@ -4,4 +4,4 @@ PORT=$1
DOMAIN=$2 DOMAIN=$2
INTERNAL_PORT=$(shuf -i 1024-65535 -n 1) INTERNAL_PORT=$(shuf -i 1024-65535 -n 1)
ssh -tR $INTERNAL_PORT:localhost:$PORT tunnel@10.0.0.2 -p 2222 $INTERNAL_PORT $DOMAIN ssh -tR $INTERNAL_PORT:localhost:$PORT tunnel $INTERNAL_PORT $DOMAIN