Use Ngrok as Ingress Service
There are many ways to configure the Ingress service, and you can choose the method that suits your habits. Here, we are using Ngrok only as an example to demonstrate the process of configuring the Ingress service.
Get Ngrok Authtoken
Install Ngrok on your SSH Instance
See how to install Ngrok on your SSH Instance here.
sudo tar -xvzf ~/Downloads/https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz -C /usr/local/bin
ngrok config add-authtoken {{NGROK_AUTHTOKEN}}
Check Ingress Service Usage
You can use the screen
command to start the Ngrok proxy and keep the process running in the background.
(base) xxxxxx@xxxxxxxxx 2024-01-28 % screen -S proxy
Restored session: Wed Jan 31 18:59:01 CST 2024
(base) xxxxxx@xxxxxxxxx 2024-01-28 % ngrok http 8080

You can access your 8080 service in SSH instance by visiting https://bed4-39-170-108-22.ngrok-free.app.
You can use "ctrl+a+d" to detach the screen session.
You can also use the "screen -r proxy
" command to go back to the session that starts Ngrok.
Last updated
Was this helpful?