mirror of
https://github.com/trezor/blockbook.git
synced 2026-02-20 00:51:39 +01:00
Fixed ssh call in tunnel script
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user