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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 捒网址