curl -sSL https://ngrok-agent.s3.amazonaws.com/ngrok.asc \
| sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null \
&& echo "deb https://ngrok-agent.s3.amazonaws.com buster main" \
| sudo tee /etc/apt/sources.list.d/ngrok.list \
&& sudo apt update \
&& sudo apt install ngrok
ngrok config add-authtoken $YOUR_AUTHTOKEN
ngrok start --config "/root/.config/ngrok/ngrok.yml" --all
authtoken: ${PERSONAL_AUTH_TOKEN}
tunnels:
jupyter:
proto: http
addr: 8888
test1:
proto: http
addr: 7474
test2:
proto: http
addr: 7687