go-tunnel

command module
v0.0.0-...-303264a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2023 License: MIT Imports: 9 Imported by: 0

README

Go-Tunnel! SSH Tunnel Auto-Connector 🚇💻

This Go program reads SSH tunnel profiles from a config.json file and automatically establishes the SSH tunnels for profiles where forwarding is enabled.

🌟 Program Features

  • 🚀 Automatically establishes SSH tunnels based on profiles in a configuration file.
  • 👀 Monitors the SSH tunnels and re-establishes them if they go down.
  • 📑 Handles multiple profiles and multiple forwarding options per profile.

🛠️ Setup

  1. 📦 Clone this repository:
git clone https://github.com/ryan-shaw/go-tunnel.git
  1. 📝 Update the config.json file with your SSH tunnel profiles. For example:
{
  "profiles" : [
    {
      "port" : 10022,
      "address" : "your.host.name",
      "forwardings" : [
        {
          "bindPort" : 8080,
          "enabled" : true
        }
      ]
    }
  ]
}
  1. 🔨 Build the Go program:
go build -o app
  1. 🏃 Run
./app

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL