Use SSH to open reverse SSH ports
| README.md | ||
| run-tunnel.sh | ||
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.