A simple tool for managing SSH tunnels from the terminal
I got tired of copying my SSH tunnel commands from a text file and pasting them into my terminal. So, I created this simple little bash script to manage them.
Requires Bash version 4 or higher.
Usage:
- Copy/move
tunnels.sampleto$HOME/.tunnels - Add your tunnels to that file in the specified format
elchapo <tunnel_name> <action>
Bring tunnel up
elchapo <name> upBring tunnel down
elchapo <name> downCheck status of tunnel
elchapo <name> status