Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 592 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 592 Bytes

El Chapo

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:

  1. Copy/move tunnels.sample to $HOME/.tunnels
  2. Add your tunnels to that file in the specified format
  3. elchapo <tunnel_name> <action>

Bring tunnel up

elchapo <name> up

Bring tunnel down

elchapo <name> down

Check status of tunnel

elchapo <name> status