Fixed ssh call in tunnel script

This commit is contained in:
Jakub Matys 2018-06-20 19:05:42 +02:00
parent 127080eb87
commit 9f4b74e68d

View File

@ -15,7 +15,7 @@ testnet_ports=$(gawk 'match($0, /"rpcURL":\s+"(http|ws):\/\/[^:]+:([0-9]+)"/, a)
for port in $testnet_ports
do
ssh -nNT -L $port:localhost:$port blockbook-dev.corp &
ssh -nNT -L $port:localhost:$port $host &
pid=$!
echo "Started tunnel to ${host}:${port} (pid: ${pid})"
done