Use SSH to open reverse SSH ports
Find a file
2018-10-04 15:00:21 -05:00
README.md Use proper URL in readme 2018-10-04 10:03:32 -05:00
run-tunnel.sh Document some todo's 2018-10-04 15:00:21 -05:00

Helper Tunnel

This is a script to SSH into a main server, while opening a tunnel for a user on that server to connect back to the machine the script is running on.

This allows a trusted remote user to access a machine without having to open ports a router, or otherwise compromise network security.

Installation

The first step is to retrieve the script. Use your favorite git cloning method, or in a terminal run:

wget https://git.nickbisby.net/nbisby/helper-tunnel/raw/branch/master/run-tunnel.sh
bash run-tunnel.sh

This will install any required packages, add a local user, and create the tunnel. Follow on screen prompts.