Skip to content

Instantly share code, notes, and snippets.

@shudarshon
Created July 7, 2017 16:38
Show Gist options
  • Save shudarshon/2ff7705cd3f940e5b706f374bf9ad99a to your computer and use it in GitHub Desktop.
Save shudarshon/2ff7705cd3f940e5b706f374bf9ad99a to your computer and use it in GitHub Desktop.
This script installs ngrok and creates a SSH tunnel in any Ubuntu 16.04 machine
!#/bin/bash
#download and unzip ngrok
wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
unzip ngrok-stable-linux-amd64.zip
#configure ngrok woth token
./ngrok authtoken TOKEN-TOKEN-TOKEN-TOKEN
ngrok tcp 22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment