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.
- Add your tunnels to that file in the specified format
elchapo <tunnel_name> <action>
Bring tunnel up
elchapo <name> up
Bring tunnel down
elchapo <name> down
Check status of tunnel
elchapo <name> status