** Note that using this method will change the address every time the server restarts but I can get it from the ngrok dashboard **
Download Repo into downloads
Change to downloads folder and type
wget [<https://bin.equinox.io/c/gDfFGFRN2Jh/ngrok-stable-linux-amd64.tgz>](<https://bin.equinox.io/c/gDfFGFRN2Jh/ngrok-link-stable-linux-amd64.tgz>)
v3
wget <https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz>
extract and copy it into bin folder
**sudo tar xvf ngrok-stable-linux-amd64.tgz -C /usr/local/bin
v3
sudo tar -xvzf ngrok-v3-stable-linux-amd64.tgz -C /usr/local/bin**
Create an authtoken on ngrok site and then add it to appliance
ngrok authtoken {authtoken here}
verify the yaml file exists
cat /home/agendalink/.ngrok2/ngrok.yml
cat /home/agendalink/.config/ngrok/ngrok.yml
// agendalink will be whatever user is set for the machine
update the yaml file with the tcp server
v2
nano /home/agendalink/.ngrok2/ngrok.yml
v3
nano /home/agendalink/.config/ngrok/ngrok.yml
v3 upgrade first make the folder
mkdir -p /home/agendalink/.config/ngrok/
nano /home/agendalink/.config/ngrok/ngrok.yml
add this to the file
tunnels:
ssh:
proto: tcp
addr: 22
verify yaml file is working with update
ngrok start -all
install the service with the config file