go-ssh-tunnel

command module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: MIT Imports: 7 Imported by: 0

README

www.dtapp.net

Golang SSH Tunnel

📦 Golang SSH 隧道

通过Go实现从本地连接到远程服务器的数据库

GitHub Org's stars

golang version godoc

goproxy

go report card

go project version

latest release latest stable release latest tag watchers combined checks (master branch) stars forks issues branches releases tags license contributors assets downloads for latest release assets downloads for a tag repository dependents package dependents dependabot status GitHub last commit GitHub commit activity Github All Contributors GitHub go.mod Go version (branch) GitHub go.mod Go version (subdirectory of monorepo) GitHub release (latest by date) GitHub release (latest SemVer) GitHub tag (latest by date) GitHub tag (latest SemVer) GitHub pull requests GitHub issues GitHub Sponsors GitHub code size in bytes GitHub language count GitHub search hit counter GitHub top language

sourcegraph

Scrutinizer build (GitHub/Bitbucket) Scrutinizer coverage (GitHub/BitBucket) Scrutinizer code quality (GitHub/Bitbucket)

open source helpers

Travis (.com) branch

Codecov branch

下载使用

  • 把.example.config.yaml文件重命名为config.yaml
  • 修改对应的配置,运行即可

扩展包使用

go get -u github.com/dtapps/go-ssh-tunnel
package main

import (
	"github.com/dtapps/go-ssh-tunnel"
)

func main() {
	Tunnel("root", "", ":22", ":3306", "localhost:13306")
}

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